summaryrefslogtreecommitdiffstats
path: root/roles/haproxy/files
diff options
context:
space:
mode:
authorMikolaj Izdebski <mizdebsk@redhat.com>2015-05-04 13:19:42 +0200
committerMikolaj Izdebski <mizdebsk@redhat.com>2015-05-07 09:25:27 +0000
commit7d480abcbf5f004965bb948cbdeb2c67e57e217c (patch)
treeca1ba90f1ae43725462bdc6929ee4850a8f722a9 /roles/haproxy/files
parentc61a0adcf518259a849f56ca58a060e82c13a357 (diff)
downloadansible-7d480abcbf5f004965bb948cbdeb2c67e57e217c.tar.gz
ansible-7d480abcbf5f004965bb948cbdeb2c67e57e217c.tar.xz
ansible-7d480abcbf5f004965bb948cbdeb2c67e57e217c.zip
Add proxy configuration for Koschei staging
Diffstat (limited to 'roles/haproxy/files')
-rw-r--r--roles/haproxy/files/haproxy.cfg2
-rw-r--r--roles/haproxy/files/haproxy.cfg.stg5
2 files changed, 7 insertions, 0 deletions
diff --git a/roles/haproxy/files/haproxy.cfg b/roles/haproxy/files/haproxy.cfg
index 6a673c514..75bcf1738 100644
--- a/roles/haproxy/files/haproxy.cfg
+++ b/roles/haproxy/files/haproxy.cfg
@@ -186,6 +186,8 @@ listen kerneltest 0.0.0.0:10038
server kerneltest01 kerneltest01:80 check inter 10s rise 1 fall 2
option httpchk GET /kerneltest
+# 10040 is reserved for koschei
+
# Apache doesn't handle the initial connection here like the other proxy
# entries. This proxy also doesn't use the http mode like the others.
# stunnel should be sitting on port 9939 (public) and redirecting
diff --git a/roles/haproxy/files/haproxy.cfg.stg b/roles/haproxy/files/haproxy.cfg.stg
index c8e8807fa..c6e7eaa23 100644
--- a/roles/haproxy/files/haproxy.cfg.stg
+++ b/roles/haproxy/files/haproxy.cfg.stg
@@ -174,6 +174,11 @@ listen mirrormanager2 0.0.0.0:10039
server mm-frontend01 mm-frontend01:80 check inter 60s rise 2 fall 3
option httpchk GET /mirrormanager2
+listen koschei 0.0.0.0:10040
+ balance hdr(appserver)
+ server koschei01 koschei01:80 check inter 10s rise 1 fall 2
+ option httpchk GET /koschei/
+
# Apache doesn't handle the initial connection here like the other proxy
# entries. This proxy also doesn't use the http mode like the others.
# stunnel should be sitting on port 9939 (public) and redirecting