Capture 2xx response from proxy and rewrite

2013-10-08 Thread jlintz
Hi, Is it possible to catch a 2xx response from a upstream proxy and rewrite the response? We're able to do this with 4xx and 5xx responses using proxy_intercept_errors and error_page, but I haven't found an equivalent way of doing this for 2xx responses. Posted at Nginx Forum: http://forum.ngi

enabling keepalive increases request time

2013-09-30 Thread jlintz
HI, I'm using Nginx 1.2.9 behind Amazon's ELB. We recently moved our servers behind the ELB and in testing enabling keepalives between the server and the ELB we are seeing request times double from around 25ms to 50ms. I tried disabling postpone_output since I thought it was a buffering issue, b