From 28c056c4f731b54c782656f28c1ddd2d772644b8 Mon Sep 17 00:00:00 2001 From: James Antill Date: Mon, 11 May 2026 13:42:48 -0400 Subject: [PATCH] people: Use ProxyPassReverse to rewrite redirects, and remove the port. Signed-off-by: James Antill --- roles/people/templates/people.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roles/people/templates/people.conf b/roles/people/templates/people.conf index 3e18e101fb..5d9b693e2f 100644 --- a/roles/people/templates/people.conf +++ b/roles/people/templates/people.conf @@ -59,6 +59,13 @@ NameVirtualHost *:80 ProxyPass / http://[::1]:8923/ ProxyPassReverse / http://[::1]:8923/ + # This tells the proxy to remove the ports on redirects ... I think + # we need to use mod_rewrite if we want it to work for *.fp.o + ProxyPassReverse / http://fedorapeople.org:8923/ + ProxyPassReverse / http://ols.fedorapeople.org:8923/ + ProxyPassReverse / http://people.fedorapeople.org:8923/ + ProxyPassReverse / http://people1.fedorapeople.org:8923/ + SetHandler server-status