From 0441662e0c0cab3cb7c50fb177886c4b44fc2f35 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Mon, 30 May 2022 20:53:54 +0800 Subject: [PATCH] k8s --- deploy_k8s/ingress.yaml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/deploy_k8s/ingress.yaml b/deploy_k8s/ingress.yaml index f49b09f57..0279ba607 100644 --- a/deploy_k8s/ingress.yaml +++ b/deploy_k8s/ingress.yaml @@ -33,19 +33,8 @@ metadata: nginx.ingress.kubernetes.io/proxy-http-version: "1.1" nginx.ingress.kubernetes.io/proxy-read-timeout: "3600" nginx.ingress.kubernetes.io/proxy-send-timeout: "3600" - nginx.ingress.kubernetes.io/server-snippets: | - location / { - proxy_set_header Upgrade $http_upgrade; - proxy_http_version 1.1; - proxy_set_header X-Forwarded-Host $http_host; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_set_header X-Forwarded-For $remote_addr; - proxy_set_header Host $host; - proxy_set_header Connection "upgrade"; - proxy_cache_bypass $http_upgrade; - } - nginx.ingress.kubernetes.io/use-regex: "true" - nginx.ingress.kubernetes.io/rewrite-target: "/$1" +# nginx.ingress.kubernetes.io/use-regex: "true" +# nginx.ingress.kubernetes.io/rewrite-target: "/$1" spec: rules: