Re: Nginx behind a reverse proxy sending 499

2015-01-12 Thread Maxim Dounin
Hello! On Sun, Jan 11, 2015 at 01:37:31AM -0500, ppwm wrote: > To debug the issue further, I wrote a simple Java based HTTP client. This > client would open a socket to the nginx server, write the request line (GET > / HTTP/1.1), write the host header, write the Connection:close header and > comm

Re: Nginx behind a reverse proxy sending 499

2015-01-10 Thread ppwm
To debug the issue further, I wrote a simple Java based HTTP client. This client would open a socket to the nginx server, write the request line (GET / HTTP/1.1), write the host header, write the Connection:close header and commit the request. While committing the write the CRLF character twice. I

Nginx behind a reverse proxy sending 499

2015-01-10 Thread ppwm
We have a Java based reverse proxy(developed in-house) which is talking to Nginx which is a proxy_pass for gunicorn server(python/django). The HTTP request flows from Java reverse proxy (JRPxy) to nginx to gunicorn. All these servers are running on the same machine. Previously JRPxy was sending Co