Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Re: auth_basic 500 Internal Server Error

$
0
0
> 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

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>