Welcome! Log In Create A New Profile

Advanced

Re: NginxHttpAuthBasicModule and Subfolders

September 10, 2010 08:28AM
On Fri, Sep 10, 2010 at 02:18:53PM +0200, Dimitri Roschkowski wrote:

> Hi,
>
> if I define auth_basic for "location /", /test/1234/ is also
> password-protected. Is it possible, to unprotect the path? I - for
> example - have an protected application running on the location / and
> /files/images are some pics. I do not want them to be protected. Is it
> somehow possible?

location / {
auth_basic ...
}

location /files/images/ {
...
}


--
Igor Sysoev
http://sysoev.ru/en/

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

NginxHttpAuthBasicModule and Subfolders

Dimitri Roschkowski September 10, 2010 08:22AM

Re: NginxHttpAuthBasicModule and Subfolders

Igor Sysoev September 10, 2010 08:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 121
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready