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

Popular posts from this blog

Javascript line number mapping -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -