Conditional http auth
mike503 at gmail.com
Mon Dec 6 15:02:46 MSK 2010
Igor - any way that this could be implemented? Variable expansion for
auth_basic? Or do you have any other ideas?
On Sat, Dec 4, 2010 at 2:58 PM, Michael Shadle <mike503 at gmail.com> wrote:
> On Sat, Dec 4, 2010 at 7:41 AM, Eugaia <ngx.eugaia at gmail.com> wrote:
>> I've not tested it, but I had a quick look at the code and it appears that
>> auth_basic doesn't accept variables (yet), so regardless of the setting
>> mechanism, I don't think it will work.
>> Adding variable support to auth_basic, though, could be useful it seems.
> Since it isn't important enough to compile in lua just for this, I
> wouldn't have really considered this an option anyway.
> But yes, I believe you're still right. It still all relies on nginx
> allowing variables. That could be as simple as a two line patch or
> could be complex. I don't know?
More information about the nginx