ソースを参照

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

unknown 3 ヶ月 前
コミット
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";