Skip to content

Commit

Permalink
Fix #2073 (syntax in nginz conf template).
Browse files Browse the repository at this point in the history
  • Loading branch information
fisx committed Jan 28, 2022
1 parent b86598f commit 116988c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/nginz/templates/conf/_nginx.conf.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
}

Expand Down

0 comments on commit 116988c

Please sign in to comment.