mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 12:07:34 +08:00
Expose the bodhi2 staging instance through the proxies
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user