mirror of
https://gitea.0xace.cc/ansible-galaxy/haproxy.git
synced 2025-06-29 01:43:06 +00:00
fix selinux and make default config working with haproxy up to v2.6.10
This commit is contained in:
@ -14,7 +14,6 @@ haproxy_default_config:
|
||||
daemon:
|
||||
chroot: /var/lib/haproxy
|
||||
maxconn: 200000
|
||||
nbproc: "{{ '2' if ansible_facts['processor_nproc'] > 1 }}"
|
||||
user: haproxy
|
||||
group: haproxy
|
||||
pidfile: /var/run/haproxy.pid
|
||||
@ -22,7 +21,6 @@ haproxy_default_config:
|
||||
- "127.0.0.1 local0"
|
||||
stats:
|
||||
- "socket /var/lib/haproxy/stats mode 0660 level admin"
|
||||
- "bind-process {{ '2' if ansible_facts['processor_nproc'] > 1 }}"
|
||||
'tune.ssl.default-dh-param': 2048
|
||||
defaults:
|
||||
log:
|
||||
|
Reference in New Issue
Block a user