diff --git a/overlay/etc/templates/vhosts.conf.tmpl b/overlay/etc/templates/vhosts.conf.tmpl index 5650e2a..9545aa6 100644 --- a/overlay/etc/templates/vhosts.conf.tmpl +++ b/overlay/etc/templates/vhosts.conf.tmpl @@ -65,8 +65,7 @@ server { proxy_buffering off; proxy_connect_timeout 300; proxy_intercept_errors on; - proxy_redirect http:// $scheme://; - port_in_redirect off; + absolute_redirect off; {{ if $this.upstream_use_tls -}} proxy_set_header Host "{{ $upstream_host }}";