From 24a5d2f2d2a3054b0a341e00dd3def2b4663d6a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=B8=80=E4=B9=8B?= Date: Sun, 24 Mar 2024 19:58:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=83=A8=E7=BD=B2=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/helm/values.yaml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/deploy/helm/values.yaml b/deploy/helm/values.yaml index 175f86a..fa9cba9 100644 --- a/deploy/helm/values.yaml +++ b/deploy/helm/values.yaml @@ -42,26 +42,19 @@ service: ingress: enabled: true - className: "k3s-backup-nginx" + className: "main-nginx" annotations: # kubernetes.io/ingress.class: nginx # kubernetes.io/tls-acme: "true" - nginx.ingress.kubernetes.io/configuration-snippet: | - rewrite ^/use$ /docs/use/ redirect; # 重定向 /use - rewrite ^/use/$ /docs/use/ redirect; # 重定向 /use - rewrite ^/dev/(.*)$ /docs/dev/$1 redirect; # 重定向 /dev - rewrite ^/dev$ /docs/dev/ redirect; # 重定向 /dev - rewrite ^/change/(.*)$ /docs/change/$1 redirect; # 重定向 /change - rewrite ^/change$ /docs/change/ redirect; # 重定向 /change hosts: - - host: docs.scriptcat.org + - host: blog.icodef.com paths: - path: / pathType: ImplementationSpecific tls: - - secretName: scriptcat-org-tls + - secretName: icodef-com-tls hosts: - - docs.scriptcat.org + - blog.icodef.com resources: {} # We usually recommend not to specify default resources and to leave this as a conscious