diff --git a/templates/values.yaml.tpl b/templates/values.yaml.tpl index ec0ccc1..cc35c7d 100644 --- a/templates/values.yaml.tpl +++ b/templates/values.yaml.tpl @@ -190,7 +190,7 @@ controller: %{ endif ~} server-snippet: | if ($scheme != 'https') { - return 308 https://$host$request_uri; + return 308 https://$server_name$request_uri; } #