From fd959cb05397c2aacf0db0a13f2f088fd3375160 Mon Sep 17 00:00:00 2001 From: lingkai5wu Date: Fri, 25 Sep 2026 13:13:43 +0800 Subject: [PATCH] fix: restrict template variable substitution --- nginx/compose.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/nginx/compose.yaml b/nginx/compose.yaml index 124bd82..c8afe6a 100644 --- a/nginx/compose.yaml +++ b/nginx/compose.yaml @@ -9,6 +9,7 @@ services: environment: BASE_DOMAIN: ${BASE_DOMAIN} EO_ORIGIN_TOKEN: ${EO_ORIGIN_TOKEN} + NGINX_ENVSUBST_FILTER: '^(BASE_DOMAIN|EO_ORIGIN_TOKEN)$' NGINX_ENVSUBST_OUTPUT_DIR: /etc/nginx ports: - "192.168.10.101:80:80"