Special-case out mirrormanager2.
This commit is contained in:
parent
996c4d6cc9
commit
1ff17f6b21
2 changed files with 9 additions and 0 deletions
|
@ -239,6 +239,7 @@
|
||||||
website: admin.fedoraproject.org
|
website: admin.fedoraproject.org
|
||||||
destname: mirrormanager2
|
destname: mirrormanager2
|
||||||
localpath: /mirrormanager2
|
localpath: /mirrormanager2
|
||||||
|
remotepath: /mirrormanager2
|
||||||
proxyurl: http://localhost:10039
|
proxyurl: http://localhost:10039
|
||||||
|
|
||||||
- role: httpd/reverseproxy
|
- role: httpd/reverseproxy
|
||||||
|
|
|
@ -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}}
|
Loading…
Add table
Add a link
Reference in a new issue