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 /