Re: http keep alive with post requests issue

2014-10-14 Thread lzilles
The http headers returned to the client are incorrect. It should be "Connection 'keep-alive'" instead of "Conncetion "close"". Somehow all the nginx settings for response headers seem to be ignored. The fact that the application server's name is returned in the response http header instead of "Serv

Re: http keep alive with post requests issue

2014-10-13 Thread lzilles
I figured that the location settings have not been used at all. So now I can see that even for location settings the same error occurs. If I use keepalive and proxy_set_header Connection "" it works. As soon as I add "proxy_http_version 1.1" to any context, the POST responses still get returned dir

http keep alive with post requests issue

2014-10-13 Thread lzilles
Hi, I am using nginx as proxy with an upstream configuration: upstream example_server { server localhost:9000 fail_timeout=0; keepalive 64; } Everything works fine when configuring location to include proxy_http_version and connection header: