Re: BasicAuth config question

2018-10-25 Thread pg151
On Thu, Oct 25, 2018, at 10:23 AM, Maxim Dounin wrote: > In your second config, auth_basic is only configured for location > "~ ^/sec", but not for location "= /sec/status". Since the request > to /sec/status is handled in the latter, auth_basic won't apply. > > Note that location matching s

BasicAuth config question

2018-10-25 Thread pg151
If I define nginx.conf ... server { ... include includes/conf1.inc; include includes/conf2.inc; ... } ... cat includes/co