Skip to content

Commit

Permalink
use $host for X-Forwarded-Host header
Browse files Browse the repository at this point in the history
  • Loading branch information
icrc-fdeniger committed Jul 22, 2024
1 parent d5a37f9 commit aadbbb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ server {
proxy_set_header X-Forwarded-Proto $forwarded_proto;
proxy_set_header X-Real-IP $forwarded_ip;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header Host $http_host;
# if serving this via HTTPS, the following is recommended
# proxy_cookie_flags $var_proxy_cookie_flags;
Expand Down

0 comments on commit aadbbb3

Please sign in to comment.