server {
listen 80;
server_name nebula-studio.xxx.xxx.com;
location / {
proxy_pass http://127.0.0.1:7001/;
}
location /nebula_ws {
proxy_pass http://127.0.0.1:7001/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
试过了 不行
这是我的nginx配置
server {
listen 80;
server_name nebula-studio.xxx.xx.com;
location / {
proxy_pass http://127.0.0.1:7001/;
}
location /nebula_ws {
proxy_pass http://127.0.0.1:7001/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
我用一样的配置(带的 tls)拉的 nightly build 不能重现问题,wss://
一切正常,nginx 那边有什么报错?
2024/02/01 18:26:31 [info] 147295#0: *4894309 client 10.253.10.92 closed keepalive connection
2024/02/01 18:26:31 [info] 147294#0: *4894307 client 10.253.10.92 closed keepalive connection
2024/02/01 18:26:31 [info] 147295#0: *4894301 client 10.253.10.92 closed keepalive connection
显示是客户端关闭连接
此话题已在最后回复的 30 天后被自动关闭。不再允许新回复。