nginx-0.4.1
Igor Sysoev
is at rambler-co.ru
Thu Sep 14 18:33:06 MSD 2006
On Thu, 14 Sep 2006, Francois Simond wrote:
> Igor Sysoev a ?crit :
>> Changes with nginx 0.4.1 14 Sep
>> 2006
> Hello to the list, this is my first post here !
>
> I have a problem with files not owned by the running nginx process uid :
>
> With the default setup that comes with make install :
>
> http://localhost/ gives a 500 error:
> in the log file:
>
> 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.
What does "ls -l html/" show ?
You can override the use or/and group in nginx.conf:
user USER;
user USER GROUP;
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list