nginx proxy to comet

后端 未结 7 855
离开以前
离开以前 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:26

    I actually managed to get this working now. Thank you all. The reason nginx was 504 timing out was a silly one: I hadn't included proxy.conf in my nginx.conf like so:

    include /etc/nginx/proxy.conf;
    

    So, I'm keeping nginx as a frontend proxy to the COMET server.

提交回复
热议问题