user with ssl-proxy, nginx problem
mdounin at mdounin.ru
Thu Feb 21 17:11:56 MSK 2008
On Thu, Feb 21, 2008 at 02:50:48PM +0100, G??bor Farkas wrote:
> 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
Instead of IP you may use CIDR here, e.g. 192.168.0.0/16.
More information about the nginx