From 66bea9ff6072c0344d835f10129d2838c7ed218b Mon Sep 17 00:00:00 2001 From: Jeremy Fee <jmfee@usgs.gov> Date: Thu, 5 Nov 2020 22:34:33 -0700 Subject: [PATCH] Try turning proxy_redirect off --- 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 22e7be398..060c80b55 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://\$proxy_host:\$proxy_port https://\$host; + proxy_redirect off; } EO_SERVER_SNIP # ^^ Note: TAB indentation required -- GitLab