Skip to content

Commit

Permalink
Fix X-Forwarded-Port header
Browse files Browse the repository at this point in the history
  • Loading branch information
richturner committed Jun 25, 2021
1 parent 8baffa1 commit 6b99970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haproxy.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ frontend https

http-request add-header X-Forwarded-Proto https
http-request set-header X-Forwarded-Host %[req.hdr(Host)]
http-request add-header X-Forwarded-Port %fp
http-request add-header X-Forwarded-Port %[dst_port]
http-request add-header Strict-Transport-Security max-age=15768000

acl auth url_beg /auth
Expand Down

0 comments on commit 6b99970

Please sign in to comment.