From 1855a459f90736cd0c1a3855adb9f72a2707df36 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Thu, 16 May 2019 14:18:02 +0200 Subject: [PATCH] Default communishift to tcp mode Signed-off-by: Patrick Uiterwijk --- files/communishift/haproxy.cfg | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/files/communishift/haproxy.cfg b/files/communishift/haproxy.cfg index 6d7b5c5214..94e4df7b23 100644 --- a/files/communishift/haproxy.cfg +++ b/files/communishift/haproxy.cfg @@ -16,8 +16,8 @@ global defaults log global - mode http - option httplog + mode tcp + option tcplog option dontlognull option httpclose option redispatch @@ -28,10 +28,14 @@ defaults timeout server 500s frontend stats-frontend + mode http + option httplog bind 0.0.0.0:8080 default_backend stats-backend backend stats-backend + mode http + option httplog balance hdr(appserver) stats enable stats uri /