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

@ -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