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:
parent
6ef4d3c158
commit
28c056c4f7
1 changed files with 7 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue