diff --git a/scripts/custom.funcs.sh b/scripts/custom.funcs.sh index eced92e7268632cd431d5256cebf8f30821b556a..22e7be398751038fc534ce04d04c6da063d46ae3 100644 --- a/scripts/custom.funcs.sh +++ b/scripts/custom.funcs.sh @@ -53,7 +53,7 @@ updateRouting () { proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto https; # keep redirects on https - proxy_redirect http://\$host:\$port https://\$host; + proxy_redirect http://\$proxy_host:\$proxy_port https://\$host; } EO_SERVER_SNIP # ^^ Note: TAB indentation required