소스 검색

update---nginx配置

QuietShadow 3 년 전
부모
커밋
61d4fa75d7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      nginx.conf

+ 1 - 1
nginx.conf

@@ -100,7 +100,7 @@ http {
             proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
             proxy_pass http://ems-ems-api/websocket/; # 转发地址.dev.svc.cluster.local
             proxy_set_header Upgrade $http_upgrade;
-            proxy_set_header Connection $connection_upgrade;
+            proxy_set_header Connection "upgrade";
         }	
     }	
 }