stg proxy configuration for mbs.

This commit is contained in:
Ralph Bean 2017-02-01 12:36:19 +00:00
parent 7f1c1e6612
commit be699ca7d0
3 changed files with 23 additions and 0 deletions

View file

@ -584,6 +584,12 @@
proxyurl: http://localhost:10052
when: env == "staging"
- role: httpd/reverseproxy
website: mbs.fedoraproject.org
destname: mbs
proxyurl: http://localhost:10010
when: env == "staging"
- role: httpd/reverseproxy
website: koji.fedoraproject.org
destname: koji

View file

@ -735,3 +735,10 @@
sslonly: true
cert_name: "{{wildcard_cert_name}}"
when: env == "staging"
- role: httpd/website
name: mbs.fedoraproject.org
sslonly: true
server_aliases: [mbs.stg.fedoraproject.org]
cert_name: "{{wildcard_cert_name}}"
when: env == "staging"

View file

@ -413,6 +413,16 @@ listen kojipkgs 0.0.0.0:10062
option httpchk GET /
{% endif %}
{% if env == "staging" %}
listen mbs 0.0.0.0:10063
balance hdr(appserver)
server mbs-frontend01 mbs-frontend01:80 check inter 20s rise 2 fall 3
server mbs-frontend02 mbs-frontend02:80 check inter 20s rise 2 fall 3
option httpchk GET /module-build-service/1/module-builds/
{% endif %}
# Apache doesn't handle the initial connection here like the other proxy
# entries. This proxy also doesn't use the http mode like the others.
# stunnel should be sitting on port 9939 (public) and redirecting