nginx 1.2.0 - socket.io - HTTP/1.1 - Proxy websocket connections

前端 未结 2 1104
抹茶落季
抹茶落季 2021-01-30 17:52

i would like to replace my node-http-proxy module with nginx proxy_pass module. Is it possible with new released nginx version, as i have read, that it supports HTTP/1.1 out of

2条回答
  •  日久生厌
    2021-01-30 18:20

    In relation to NginX with TCP module there are few problems I have encountered. But the most tricky one is trying to run your websockets with nginx on port 80 on EC2 instance.

    I described whole configuration here

提交回复
热议问题