move pkgs in stg behind the proxy as well

This commit is contained in:
Kevin Fenzi 2016-12-09 03:33:45 +00:00
parent cf7ebb58d9
commit 4d766c88ef
3 changed files with 24 additions and 2 deletions

View file

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

View file

@ -479,7 +479,15 @@
name: koji.stg.fedoraproject.org
sslonly: true
server_aliases:
- koji.stg.stg.fedoraproject.org
- koji.stg.fedoraproject.org
cert_name: "{{wildcard_cert_name}}"
when: env == "staging"
- role: httpd/website
name: pkgs.stg.fedoraproject.org
sslonly: true
server_aliases:
- pkgs.stg.fedoraproject.org
cert_name: "{{wildcard_cert_name}}"
when: env == "staging"

View file

@ -361,11 +361,19 @@ listen modernpaste 0.0.0.0:10055
{% endif %}
{% if env == "staging" %}
listen modernpaste 0.0.0.0:10056
listen koji 0.0.0.0:10056
balance hdr(appserver)
server koji01 koji01:80 check inter 10s rise 1 fall 2
option httpchk GET /
{% endif %}
{% if env == "staging" %}
listen pkgs 0.0.0.0:10057
balance hdr(appserver)
server pkgs01 pkgs01:80 check inter 10s rise 1 fall 2
option httpchk GET /
{% endif %}
# Apache doesn't handle the initial connection here like the other proxy