外网过边界访问内网应用,nginx代理websocket连接报404的问题

NGINX处理WebSocket连接

nginx配置文件设置下面两行即可

proxy_set_header Upgrade $http_upgrade;

proxy_set_header Connection "upgrade";

猜你喜欢

转载自blog.csdn.net/qq_27333087/article/details/89280728