Welcome! Log In Create A New Profile

Advanced

Re: Does auth_basic changes require a service reload?

Maxim Dounin
April 26, 2012 05:38AM
Hello!

On Wed, Apr 25, 2012 at 12:59:50PM -0400, TECK wrote:

> 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.

The htpasswd file is looked up at runtime, no reload/restart
needed after it's change.

Maxim Dounin

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

Does auth_basic changes require a service reload?

TECK April 25, 2012 12:59PM

Re: Does auth_basic changes require a service reload?

Maxim Dounin April 26, 2012 05:38AM

Re: Does auth_basic changes require a service reload?

TECK April 26, 2012 10:10AM

Re: Does auth_basic changes require a service reload?

Maxim Dounin April 26, 2012 10:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 60
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready