From 523598c1d3f34b247a09580a14540acc5bf50f9c Mon Sep 17 00:00:00 2001 From: Jeremy Fee <jmfee@usgs.gov> Date: Thu, 5 Nov 2020 22:13:45 -0700 Subject: [PATCH] Update proxy_redirect syntax again --- scripts/custom.funcs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/custom.funcs.sh b/scripts/custom.funcs.sh index eced92e72..22e7be398 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 -- GitLab