Expose the bodhi2 staging instance through the proxies

This commit is contained in:
Luke Macken 2015-06-07 13:35:32 +00:00
parent f0590406f0
commit 72bab5f0b5
2 changed files with 13 additions and 0 deletions

View file

@ -215,6 +215,14 @@
localpath: /updates
proxyurl: http://localhost:10009
- role: httpd/reverseproxy
website: admin.fedoraproject.org
destname: bodhi
remotepath: /updates
localpath: /updates2
proxyurl: http://localhost:10010
when: env == "staging"
- role: httpd/reverseproxy
website: admin.fedoraproject.org
destname: mirrormanager

View file

@ -72,6 +72,11 @@ listen bodhi 0.0.0.0:10009
server bodhi01 bodhi01:80 check inter 20s rise 2 fall 3
option httpchk GET /updates/nagios
listen bodhi2 0.0.0.0:10010
balance hdr(appserver)
server bodhi02 bodhi02:80 check inter 20s rise 2 fall 3
option httpchk GET /updates/nagios
listen freemedia 0.0.0.0:10011
balance hdr(appserver)
server sundries01 sundries01:80 check inter 60s rise 2 fall 3