Commit ba067814 authored by ale's avatar ale
Browse files

Merge branch 'proxy-redirects' into 'master'

Fix Location headers for backends that do not understand X-Forwarded-Proto

See merge request !208
parents 345671c6 164fd3b0
Pipeline #16864 failed with stages
in 4 minutes and 53 seconds
......@@ -10,3 +10,7 @@ proxy_set_header Connection "";
# We set our own HSTS headers on all endpoints, ignore what is
# set by the application.
proxy_hide_header Strict-Transport-Security;
# Fix Location header for backends that do not understand the
# X-Forwarded-Proto header.
proxy_redirect http://$http_host/ https://$http_host/;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment