stg proxy configuration for mbs.
This commit is contained in:
parent
7f1c1e6612
commit
be699ca7d0
3 changed files with 23 additions and 0 deletions
|
@ -584,6 +584,12 @@
|
||||||
proxyurl: http://localhost:10052
|
proxyurl: http://localhost:10052
|
||||||
when: env == "staging"
|
when: env == "staging"
|
||||||
|
|
||||||
|
- role: httpd/reverseproxy
|
||||||
|
website: mbs.fedoraproject.org
|
||||||
|
destname: mbs
|
||||||
|
proxyurl: http://localhost:10010
|
||||||
|
when: env == "staging"
|
||||||
|
|
||||||
- role: httpd/reverseproxy
|
- role: httpd/reverseproxy
|
||||||
website: koji.fedoraproject.org
|
website: koji.fedoraproject.org
|
||||||
destname: koji
|
destname: koji
|
||||||
|
|
|
@ -735,3 +735,10 @@
|
||||||
sslonly: true
|
sslonly: true
|
||||||
cert_name: "{{wildcard_cert_name}}"
|
cert_name: "{{wildcard_cert_name}}"
|
||||||
when: env == "staging"
|
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"
|
||||||
|
|
|
@ -413,6 +413,16 @@ listen kojipkgs 0.0.0.0:10062
|
||||||
option httpchk GET /
|
option httpchk GET /
|
||||||
{% endif %}
|
{% 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
|
# 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.
|
# entries. This proxy also doesn't use the http mode like the others.
|
||||||
# stunnel should be sitting on port 9939 (public) and redirecting
|
# stunnel should be sitting on port 9939 (public) and redirecting
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue