switch koji in stg to use proxy01.stg

This commit is contained in:
Kevin Fenzi 2016-12-08 18:35:27 +00:00
parent a3c2c43213
commit 0a0df18b19
3 changed files with 21 additions and 0 deletions

View file

@ -558,3 +558,9 @@
destname: modernpaste
proxyurl: http://localhost:10055
when: env == "staging"
- role: httpd/reverseproxy
website: koji.stg.fedoraproject.org
destname: koji
proxyurl: http://localhost:10056
when: env == "staging"

View file

@ -475,6 +475,13 @@
cert_name: "{{wildcard_cert_name}}"
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
name: apps.fedoraproject.org
server_aliases: [apps.stg.fedoraproject.org]

View file

@ -358,6 +358,14 @@ listen modernpaste 0.0.0.0:10055
server modernpaste01 modernpaste01:80 check inter 10s rise 1 fall 2
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 %}
# Apache doesn't handle the initial connection here like the other proxy