user with ssl-proxy, nginx problem

Igor Sysoev is at rambler-co.ru
Thu Feb 21 17:14:04 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 IPs?

./configure --with-debug

events {
     debug_connection  192.168.1.0/32;
     debug_connection  10.1.1.0/16;
}


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list