1
0
Fork 0
forked from infra/ansible

people: Use ProxyPassReverse to rewrite redirects, and remove the port.

Signed-off-by: James Antill <james@and.org>
This commit is contained in:
James Antill 2026-05-11 13:42:48 -04:00
commit 28c056c4f7

View file

@ -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/
<Location /apache-status>
SetHandler server-status
<RequireAny>