$.SSL_SERVER_NAME
This commit is contained in:
parent
a2229f4683
commit
ab8446d950
@ -14,7 +14,7 @@ server {
|
|||||||
{{ if (and (eq $listen_port "80") ($.SSL_INUSE)) }}
|
{{ if (and (eq $listen_port "80") ($.SSL_INUSE)) }}
|
||||||
include {{ $.DOKKU_ROOT }}/{{ $.APP }}/nginx.conf.d/*.conf;
|
include {{ $.DOKKU_ROOT }}/{{ $.APP }}/nginx.conf.d/*.conf;
|
||||||
location / {
|
location / {
|
||||||
return 301 https://{{NOSSL_SERVER_NAME}}:{{ $.PROXY_SSL_PORT }}$request_uri;
|
return 301 https://{{ $.SSL_SERVER_NAME }}:{{ $.PROXY_SSL_PORT }}$request_uri;
|
||||||
}
|
}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
location / {
|
location / {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user