From efa9b669c9b76d6c68053d0a072aca4b3daafef4 Mon Sep 17 00:00:00 2001 From: Massaki Archambault Date: Sun, 21 Jan 2024 01:11:00 -0500 Subject: [PATCH] work around x-forward-for bug in home-assistant --- roles/haproxy/templates/haproxy.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index 97b448f..d317e08 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -57,6 +57,7 @@ frontend https_in http-response set-header Strict-Transport-Security "max-age=15552000; includeSubDomains;" # set X-Forward-For + http-request del-header x-forwarded-for option forwardfor # set X-Forwarded-Proto