Does auth_basic changes require a service reload?

TECK nginx-forum at nginx.us
Wed Apr 25 16:59:50 UTC 2012


Hi,

I'm wondering if I need to perform a "service nginx restart", if I do
any changes to htpasswd file:
location / {
    auth_basic           "closed site";
    auth_basic_user_file htpasswd;
}

I noticed that sometimes it works without reloading the service.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,225777,225777#msg-225777



More information about the nginx mailing list