From d1802eaad7a37bdd3bee40c5799639d47c4a2825 Mon Sep 17 00:00:00 2001 From: Rohow Date: Sun, 17 Aug 2025 00:13:22 +0800 Subject: [PATCH] =?UTF-8?q?feat(cdn):=20cdn=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/infra/net/nginx/ingress-cdn.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/infra/net/nginx/ingress-cdn.yaml b/apps/infra/net/nginx/ingress-cdn.yaml index 0d692a5..24041f6 100644 --- a/apps/infra/net/nginx/ingress-cdn.yaml +++ b/apps/infra/net/nginx/ingress-cdn.yaml @@ -15,7 +15,7 @@ metadata: nginx.ingress.kubernetes.io/cors-allow-origin: "https://dev.cm, https://*.dev.cm, https://fillcode.cm, https://*.fillcode.cm" nginx.ingress.kubernetes.io/cors-allow-credentials: "true" # cookie配置 - nginx.ingress.kubernetes.io/proxy-cookie-domain: "* cdn.fillcode.com" + nginx.ingress.kubernetes.io/proxy-cookie-domain: "~^(.+)$ cdn.fillcode.com" nginx.ingress.kubernetes.io/proxy-cookie-path: "/ /$1" nginx.ingress.kubernetes.io/configuration-snippet: | proxy_cookie_flags ~ SameSite=None Secure;