关闭Selinux 命令

在nginx 配置文件中,新增location中的内容,完成后,web上403报错

方法:关闭Selinux即可。

 

Follow below steps:

虚拟机服务器环境补充:

# vim/etc/selinux/config

把selinux = disable (修改成disable)

保存退出后,重新启动nginx

systemctl  restart nginx

posted @ 2017-08-26 15:13  Ivy_li4258  阅读(513)  评论(0编辑  收藏  举报