why my NginxStatus do not work?

Maxim Dounin mdounin at mdounin.ru
Thu Apr 8 14:19:46 MSD 2010


Hello!

On Thu, Apr 08, 2010 at 05:20:14AM -0400, ultrawind wrote:

[...]

>         location /NginxStatus {
>              stub_status             on;
>              auth_basic              "NginxStatus";
>              auth_basic_user_file  conf/htpasswd;

Path in auth_basic_user_file is relative to configuration prefix (by 
default it's directory where nginx.conf resides), so you may want 
to remove "conf/" here.

Don't hesitate to look into your error_log for details.

Maxim Dounin



More information about the nginx mailing list