I have an application that requires me to disable buffering in the reverse proxy. I managed to do this with the following nginx configuration:
server {
listen 80;
server_name 10.0.0.104;
location / {
proxy_buffering off;
proxy_request_buffering off;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_pass http://http_backend;
proxy_redirect default;
}
}
upstream http_backend {
server 10.0.0.86:8080;
keepalive 16;
}
I need to have the same setup that works on Apache, but apache does not have a directive proxy_buffering off. The only configuration that I could find in the mod_proxy the docs , it is ProxyIOBufferSizeand ProxyReceiveBufferSize, but they have a minimun value instead of an option to disable buffering. I tested those, but my application fails.
source
share