Aleksandar Lazic al-nginx at
Thu Sep 14 18:36:45 MSD 2006


On Don 14.09.2006 16:27, Francois Simond wrote:

>2006/09/14 16:18:11 [crit] 8958#0: *4 open()
>"/usr/local/nginx/html/50x.html" failed (1: Operation not permitted),
>client:, server: localhost, URL: "/index.html", host:
>If i chown nobody: -R html/ , 200 OK it works.

This is the default user.

There are to possibilities to change this behaviour:

1.) add --user= to your configure call
2.) change the 'user'-line in nginx.conf to the owner of the files

I think that root isn't good ;-)



More information about the nginx mailing list