switch koji in stg to use proxy01.stg
This commit is contained in:
parent
a3c2c43213
commit
0a0df18b19
3 changed files with 21 additions and 0 deletions
|
@ -558,3 +558,9 @@
|
||||||
destname: modernpaste
|
destname: modernpaste
|
||||||
proxyurl: http://localhost:10055
|
proxyurl: http://localhost:10055
|
||||||
when: env == "staging"
|
when: env == "staging"
|
||||||
|
|
||||||
|
- role: httpd/reverseproxy
|
||||||
|
website: koji.stg.fedoraproject.org
|
||||||
|
destname: koji
|
||||||
|
proxyurl: http://localhost:10056
|
||||||
|
when: env == "staging"
|
||||||
|
|
|
@ -475,6 +475,13 @@
|
||||||
cert_name: "{{wildcard_cert_name}}"
|
cert_name: "{{wildcard_cert_name}}"
|
||||||
when: env == "staging"
|
when: env == "staging"
|
||||||
|
|
||||||
|
- role: httpd/website
|
||||||
|
name: koji.stg..fedoraproject.org
|
||||||
|
server_aliases:
|
||||||
|
- koji.stg..stg.fedoraproject.org
|
||||||
|
cert_name: "{{wildcard_cert_name}}"
|
||||||
|
when: env == "staging"
|
||||||
|
|
||||||
- role: httpd/website
|
- role: httpd/website
|
||||||
name: apps.fedoraproject.org
|
name: apps.fedoraproject.org
|
||||||
server_aliases: [apps.stg.fedoraproject.org]
|
server_aliases: [apps.stg.fedoraproject.org]
|
||||||
|
|
|
@ -358,6 +358,14 @@ listen modernpaste 0.0.0.0:10055
|
||||||
server modernpaste01 modernpaste01:80 check inter 10s rise 1 fall 2
|
server modernpaste01 modernpaste01:80 check inter 10s rise 1 fall 2
|
||||||
option httpchk GET /
|
option httpchk GET /
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
{% if env == "staging" %}
|
||||||
|
|
||||||
|
listen modernpaste 0.0.0.0:10056
|
||||||
|
balance hdr(appserver)
|
||||||
|
server koji01 koji01:80 check inter 10s rise 1 fall 2
|
||||||
|
option httpchk GET /
|
||||||
|
|
||||||
{% endif %}
|
{% 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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue