nginx-0.4.1

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


Hi,

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: 127.0.0.1, server: localhost, URL: "/index.html", host:
>"localhost"
>
>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 ;-)

regards

Aleks





More information about the nginx mailing list