Skip to content
Snippets Groups Projects
Commit 0f6ca746 authored by Jeremy M Fee's avatar Jeremy M Fee
Browse files

escape proxy_host nginx variable

parent 902e423e
No related branches found
No related tags found
1 merge request!146Release CMO metadata to production
Pipeline #25920 passed with warnings
...@@ -53,7 +53,7 @@ updateRouting () { ...@@ -53,7 +53,7 @@ updateRouting () {
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https; proxy_set_header X-Forwarded-Proto https;
# clean up any redirects sent by proxy # clean up any redirects sent by proxy
proxy_redirect http://${proxy_host}${path} https://\$host${path}; proxy_redirect http://\$proxy_host${path} https://\$host${path};
} }
EO_SERVER_SNIP EO_SERVER_SNIP
# ^^ Note: TAB indentation required # ^^ Note: TAB indentation required
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment