nginx wrong with systemd

supersnd nginx-forum at
Thu May 5 10:35:57 UTC 2016

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

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

More information about the nginx mailing list