user with ssl-proxy, nginx problem

Gábor Farkas gabor at nekomancer.net
Thu Feb 21 16:50:48 MSK 2008


Igor Sysoev wrote:
> On Thu, Feb 21, 2008 at 08:30:01AM +0100, G?bor Farkas wrote:
> 
>>
>> i have an nginx server, which server some files using HTTPS,
>> and http-basic-auth.
>>
>> - the java app requests the file, gets a http 400 (not 401)
>> - so the java app retries, and gets the http 400 again
>> - this happens 5 times, and then the java app gives up
>>
>> in the nginx access log, i see 5 http 401 (Unauthorized) accesses, and i 
>> see that the client did not send the username/password.
> 
> I need a debug log. You may send it privately.
> Note, that username/password in log is in plain text encoded by base64,
> so choose some dummy values.

is there a way to tell nginx to only "debug log" connections from 
certain IPs?

thanks,
gabor





More information about the nginx mailing list