diff --git a/overlay/etc/templates/vhosts.conf.tmpl b/overlay/etc/templates/vhosts.conf.tmpl index 34d8dd2..5650e2a 100644 --- a/overlay/etc/templates/vhosts.conf.tmpl +++ b/overlay/etc/templates/vhosts.conf.tmpl @@ -65,6 +65,7 @@ server { proxy_buffering off; proxy_connect_timeout 300; proxy_intercept_errors on; + proxy_redirect http:// $scheme://; port_in_redirect off; {{ if $this.upstream_use_tls -}}