Special-case out mirrormanager2.

This commit is contained in:
Ralph Bean 2014-12-19 15:25:14 +00:00
parent 996c4d6cc9
commit 1ff17f6b21
2 changed files with 9 additions and 0 deletions

View file

@ -239,6 +239,7 @@
website: admin.fedoraproject.org
destname: mirrormanager2
localpath: /mirrormanager2
remotepath: /mirrormanager2
proxyurl: http://localhost:10039
- role: httpd/reverseproxy

View file

@ -0,0 +1,8 @@
<Location /{{remotepath}}>
RequestHeader set CP-Location /{{remotepath}}
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
</Location>
ProxyPass {{ localpath }} {{ proxyurl }}{{remotepath}}
ProxyPassReverse {{ localpath }} {{ proxyurl }}{{remotepath}}