Pastech 发表于 2023-5-4 10:35 是不是nginx反代 然后在 location / 下面配置了 proxy_pass #PROXY-START/ [I] ProxyRequests Off SSLProxyEngine on ProxyPass / http://158.101.14.85:61671/ ProxyPassReverse / http://158.101.14.85:61671/ RewriteEngine on RewriteCond %{HTTP:Upgrade} websocket [NC] RewriteCond %{HTTP:Connection} upgrade [NC] RewriteRule ^/?(.*) "ws://158.101.14.85:61671/$1" [P] [/I] #PROXY-END/ 这样设置的