diff --git a/nginx.conf.sigil b/nginx.conf.sigil index 921b7fe..de7c544 100644 --- a/nginx.conf.sigil +++ b/nginx.conf.sigil @@ -14,7 +14,7 @@ server { {{ if (and (eq $listen_port "80") ($.SSL_INUSE)) }} include {{ $.DOKKU_ROOT }}/{{ $.APP }}/nginx.conf.d/*.conf; location / { - return 301 https://{{NOSSL_SERVER_NAME}}:{{ $.PROXY_SSL_PORT }}$request_uri; + return 301 https://{{ $.SSL_SERVER_NAME }}:{{ $.PROXY_SSL_PORT }}$request_uri; } {{ else }} location / {