From 19fe021877fd364993117dab06bc1642a9e726d8 Mon Sep 17 00:00:00 2001 From: Michal Konecny Date: Thu, 28 Mar 2024 16:15:34 +0100 Subject: [PATCH] [mailman3] Fix the http request header Apache was adding host name to X-Forwarded-Host, but this was already filled by Fedora proxy and it caused to duplicate the domain. Disabling proxy headers in apache solves the situation. Signed-off-by: Michal Konecny --- roles/mailman3/templates/mailmanweb.conf.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/mailman3/templates/mailmanweb.conf.j2 b/roles/mailman3/templates/mailmanweb.conf.j2 index e8a7d1d359..3852797232 100644 --- a/roles/mailman3/templates/mailmanweb.conf.j2 +++ b/roles/mailman3/templates/mailmanweb.conf.j2 @@ -9,7 +9,8 @@ Alias /static {{ mailman_webui_basedir }}/static ProxyPreserveHost On -ProxyRequests off +ProxyRequests Off +ProxyAddHeaders Off # Not redirecting/proxying static content (served locally) ProxyPass /static !