소스 검색

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";