http - nginx and proxy_pass - send Connection: close headers -
nginx seems replacing connection: close
header upstream sending, , replacing connection: keep-alive
header. there way can override it?
http { upstream main { server 127.0.0.1:8000; } server { listen 443; ssl on; ssl_certificate server.crt; ssl_certificate_key server.key; location / { proxy_pass http://main; } location /find { proxy_pass http://main; proxy_buffering off; } } }
setting keepalive_requests 0;
convinced nginx send connection: close
.
Comments
Post a Comment