nginx close upstream connection after request

后端 未结 1 844
庸人自扰
庸人自扰 2020-12-01 03:09

I need to keep alive my connection between nginx and upstream nodejs.

Just compiled and installed nginx 1.2.0

my configuration file:

upstream         


        
相关标签:
1条回答
  • 2020-12-01 03:39

    The documentation states that for http keepalive, you should also set proxy_http_version 1.1; and proxy_set_header Connection "";

    0 讨论(0)
提交回复
热议问题