Przeglądaj źródła

update---nginx配置

QuietShadow 3 lat temu
rodzic
commit
61d4fa75d7
1 zmienionych plików z 1 dodań i 1 usunięć
  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";
         }	
     }	
 }