From b59a207d62eff520d80e1bc9495e9d1bea019ec1 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 4 Nov 2020 15:07:56 +0100 Subject: [PATCH] force the 'forwardfor' option. --- templates/haproxy.cfg.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/haproxy.cfg.j2 b/templates/haproxy.cfg.j2 index 36db8bc..87031a8 100644 --- a/templates/haproxy.cfg.j2 +++ b/templates/haproxy.cfg.j2 @@ -78,6 +78,7 @@ frontend http mode http option http-keep-alive + option forwardfor http-request add-header X-Forwarded-Proto https # HSTS (63072000 seconds) http-response set-header Strict-Transport-Security max-age=63072000