Set the haproxy log level
This commit is contained in:
parent
cc1e1d992b
commit
a2a2943812
|
@ -24,3 +24,4 @@ docker_swarm_portainer_service_port: '8000'
|
|||
docker_swarm_keepalived_vrouter_id: 205
|
||||
docker_swarm_keepalived_floating_ip: '127.0.0.1/8'
|
||||
docker_swarm_keepalived_instance_name: 'VI_HAPROXY_1'
|
||||
docker_swarm_haproxy_loglevel: '{{ haproxy_loglevel }}'
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# https://www.haproxy.com/blog/haproxy-on-docker-swarm-load-balancing-and-dns-service-discovery/
|
||||
#
|
||||
global
|
||||
log fd@2 local2
|
||||
log fd@2 local2 {{ docker_swarm_haproxy_loglevel }}
|
||||
chroot /var/lib/haproxy
|
||||
pidfile /var/run/haproxy.pid
|
||||
maxconn {{ haproxy_maxconns }}
|
||||
|
|
Loading…
Reference in New Issue