NginxHttpAuthBasicModule and Subfolders

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?

– Dimitri

On Fri, Sep 10, 2010 at 02:18:53PM +0200, Dimitri R. 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 S.
http://sysoev.ru/en/