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;