nginx proxy to comet

后端 未结 7 853
离开以前
离开以前 2021-01-30 04:26

I need some help from some linux gurus. I am working on a webapp that includes a comet server. The comet server runs on localhost:8080 and exposes the url localhost:8080/long_po

7条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-30 05:08

    Try

    proxy_next_upstream error;
    

    The default is

    proxy_next_upstream error timeout;
    

    The timeout cannot be more than 75 seconds.

    http://wiki.nginx.org/NginxHttpProxyModule#proxy_next_upstream

    http://wiki.nginx.org/NginxHttpProxyModule#proxy_connect_timeout

提交回复
热议问题