From 8aa6f9f2ae43ef420ed82cc15aa7933d5704c3f5 Mon Sep 17 00:00:00 2001 From: lihongjie0209 Date: Mon, 14 Aug 2023 10:05:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- k8s/master/kustomization.yaml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/k8s/master/kustomization.yaml b/k8s/master/kustomization.yaml index 859e9f56..b3711537 100644 --- a/k8s/master/kustomization.yaml +++ b/k8s/master/kustomization.yaml @@ -39,23 +39,17 @@ patchesStrategicMerge: metadata: name: nginx-conf data: - default.conf: | + default.conf: |- server { listen 80; listen [::]:80; - server_name _; - #access_log /var/log/nginx/host.access.log main; - + server_name _; location / { proxy_pass http://coal-ui.coal-master.svc.cluster.local/; } location /api/ { - proxy_set_header X-Forwarded-Prefix '/api'; proxy_pass http://coal-api.coal-master.svc.cluster.local:7456/; - - } - }