location /wss {
proxy_pass http://127.0.0.1:10086;
proxy_http_version 1.1;
proxy_set_header Upgrade remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
}
location /wss {
proxy_pass http://127.0.0.1:10086;
proxy_http_version 1.1;
proxy_set_header Upgrade remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
}
本文标题:nginx 设置 wss 反向代理
本文链接:https://www.haomeiwen.com/subject/riwhqltx.html
网友评论