在nginx 配置文件中,新增location中的内容,完成后,web上403报错
方法:关闭Selinux即可。
Follow below steps:
虚拟机服务器环境补充:
# vim/etc/selinux/config
把selinux = disable (修改成disable)
保存退出后,重新启动nginx
systemctl restart nginx
在nginx 配置文件中,新增location中的内容,完成后,web上403报错方法:关闭Selinux即可。Follow below steps:虚拟机服务器环境补充:# vim/etc/selinux/config把selinux = disable (修改成disable)保存退出后,重新启动nginxsystemctl restart nginx转载...
在nginx 配置文件中,新增location中的内容,完成后,web上403报错
方法:关闭Selinux即可。
Follow below steps:
虚拟机服务器环境补充:
# vim/etc/selinux/config
把selinux = disable (修改成disable)
保存退出后,重新启动nginx
systemctl restart nginx
转载于:https://www.cnblogs.com/Ivyli4258/p/7435396.html
更多推荐
所有评论(0)