问题:nginx err log提示 “21 opendir() "/data/nginx_s" failed (13: Permission denied)”
参考:https://ramk.co.in/nginx-opendir-failed-13-permission-denied/
处理:
Also if you are using a centos 7 box, SELinux is enabled by default. We can set it to persmissive mode by using the following command.
sudo setenforce permissiveBut SELinux will be enabled again on restart.
没有评论:
发表评论