Nginx wrong with systemd

location / {
#root /usr/share/nginx/html;
root /sdd/;
#index index.html index.htm;
autoindex on;
[[email protected] /]# /usr/sbin/nginx -c /etc/nginx/nginx.conf
I can read the files
[[email protected] /]systemd start nginx
403 Forbidden
I add User=root to nginx.serivce
the question still have

Posted at Nginx Forum:,266640,266640#msg-266640

question is on selinux,

Posted at Nginx Forum:,266640,266661#msg-266661

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs