AFF窝 - Nginx
https://www.affwo.com/tag/Nginx/
-
NGINX开启目录显示403
https://www.affwo.com/281.html
2020-10-24T09:55:08+08:00
修改NGINX运行用户:vi /etc/nginx/nginx.conf
user root; #修改成root
修改selinux:永久关闭vi /etc/selinux/config
SELINUX=disabled #修改成disabled
临时关闭:setenforce 0
状态查看:getenforce
显示Permissive为关闭