浏览代码

fix(nginx): remove duplicate /ws/ prefix for websocket proxying

unknown 2 天之前
父节点
当前提交
fa2c09d936
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      nginx.conf

+ 1 - 1
nginx.conf

@@ -27,7 +27,7 @@ server {
 
     # WebSocket requests
     location /ws/ {
-        proxy_pass http://localhost:8000/ws/;
+        proxy_pass http://localhost:8000/;
         proxy_http_version 1.1;
         proxy_set_header Upgrade $http_upgrade;
         proxy_set_header Connection "Upgrade";