Jelajahi Sumber

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

unknown 3 hari lalu
induk
melakukan
fa2c09d936
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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";