proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade";
加入nginx配置文件中。
否则websocket访问会出错。
2023-12-30 19:34:16
proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade";
加入nginx配置文件中。
否则websocket访问会出错。