Reinis Rozitis
June 24, 2013 04:02PM
> 2013/06/24 22:03:05 [crit] 34189#0: *1 open()
> "/usr/local/etc/nginx/authpw" failed (13: Permission denied)
>
> # ls -lo ./authpw
> -r--r----- 1 root www - 50 24 чер 21:58 ./authpw
>
> What I have missed?

The error log kind of explains - the auth file is not readable by nginx
user.

Do you have specified the 'www' group in the nginx config (
http://nginx.org/en/docs/ngx_core_module.html#user ) ?


rr

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

auth_basic 500 Internal Server Error

artem June 24, 2013 03:20PM

Re: auth_basic 500 Internal Server Error

Reinis Rozitis June 24, 2013 04:02PM

Re[2]: auth_basic 500 Internal Server Error

artem June 24, 2013 05:22PM

Re: Re[2]: auth_basic 500 Internal Server Error

GreenGecko June 24, 2013 05:26PM

Re[2]: Re[2]: auth_basic 500 Internal Server Error

artem June 24, 2013 05:36PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 183
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready