diff --git a/charts/nginz/templates/conf/_nginx.conf.tpl b/charts/nginz/templates/conf/_nginx.conf.tpl index 14e10ec1571..58cade243b0 100644 --- a/charts/nginz/templates/conf/_nginx.conf.tpl +++ b/charts/nginz/templates/conf/_nginx.conf.tpl @@ -126,7 +126,7 @@ http { map $http_origin $cors_header { default ""; {{ range $origin := .Values.nginx_conf.allowlisted_origins }} - "https://{{ $origin }}.{{ $.Values.nginx_conf.external_env_domain}} "$http_origin"; + "https://{{ $origin }}.{{ $.Values.nginx_conf.external_env_domain}}" "$http_origin"; {{ end }} }