From 398040ab78d4b35c286fa13c596f89fb84d3272b Mon Sep 17 00:00:00 2001 From: William Petit Date: Tue, 16 Aug 2022 15:29:16 +0200 Subject: [PATCH] Suppression variable haproxy_forwarded_port --- defaults/main.yml | 1 - templates/haproxy.cfg.j2 | 1 - 2 files changed, 2 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index f22f743..bd0b869 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -34,7 +34,6 @@ haproxy_oidc_test_base_path: /auth/test haproxy_forwarded_proto: https haproxy_forwarded_host: "%[req.hdr(Host)]" -haproxy_forwarded_port: "%[dst_port]" # Hydra OIDC configuration diff --git a/templates/haproxy.cfg.j2 b/templates/haproxy.cfg.j2 index 8e61fa8..c475920 100644 --- a/templates/haproxy.cfg.j2 +++ b/templates/haproxy.cfg.j2 @@ -73,7 +73,6 @@ option forwardfor http-request set-header X-Forwarded-Proto {{ haproxy_forwarded_proto }} http-request set-header X-Forwarded-Host {{ haproxy_forwarded_host }} -http-request set-header X-Forwarded-Port {{ haproxy_forwarded_port }} # Backend Hydra backend hydra