Sfoglia il codice sorgente

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

unknown 3 giorni fa
parent
commit
fa2c09d936
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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";