move prod src behind haproxy too

This commit is contained in:
Kevin Fenzi 2016-12-09 06:33:23 +00:00
parent d871f82537
commit 0e6058d810
2 changed files with 3 additions and 3 deletions

View file

@ -501,7 +501,7 @@
- role: httpd/reverseproxy
website: src.fedoraproject.org
destname: git
proxyurl: http://pkgs02.phx2.fedoraproject.org
proxyurl: http://localhost:10057
when: env == "production"
- role: httpd/reverseproxy

View file

@ -367,8 +367,8 @@ listen koji 0.0.0.0:10056
option httpchk GET /
{% endif %}
{% if env == "staging" %}
{% if inventory_hostname_short == 'proxy01' or inventory_hostname_short == 'proxy10' %}
# Only enable this on proxy01 or proxy10
listen src 0.0.0.0:10057
balance hdr(appserver)
server pkgs01 pkgs01:80 check inter 10s rise 1 fall 2