Conditional http auth

Michael Shadle mike503 at gmail.com
Sat Dec 4 00:09:48 MSK 2010


I thought of that - care to show an example of what you mean in pseudo config? The way I was thinking about it might be wrong. 

On Dec 3, 2010, at 1:07 PM, Boris Dolgov <boris at dolgov.name> wrote:

> No, it shouldn't.
> 
> You can jump to named location inside if statement, and change authorization configuration there.
> 
> 2010 12 4 00:05 пользователь "Michael Shadle" <mike503 at gmail.com> написал:
> > On Fri, Dec 3, 2010 at 1:00 PM, Eugaia <ngx.eugaia at gmail.com> wrote:
> > 
> >> auth_basic $realm;
> > 
> > This is still the problem... auth_basic doesn't seem to accept
> > variables. If so, my original post -should- work. It still relies on
> > that.
> > 
> > _______________________________________________
> > nginx mailing list
> > nginx at nginx.org
> > http://nginx.org/mailman/listinfo/nginx
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20101203/13144b4c/attachment.html>


More information about the nginx mailing list