roles/haproxy: Add support for Debian hosts
Debian does not support system-wide SSL cipher suite profiles of course, so these options need to be specified explicitly when deploying HAProxy on Debian-based machines.
This commit is contained in:
@@ -14,5 +14,10 @@ global
|
||||
stats socket /var/lib/haproxy/stats
|
||||
|
||||
# utilize system-wide crypto-policies
|
||||
ssl-default-bind-ciphers PROFILE=SYSTEM
|
||||
ssl-default-server-ciphers PROFILE=SYSTEM
|
||||
ssl-default-bind-ciphers {{ haproxy_ssl_default_ciphers }}
|
||||
{% if haproxy_ssl_default_server_ciphers|d %}
|
||||
ssl-default-server-ciphers {{ haproxy_ssl_default_server_ciphers }}
|
||||
{% endif %}
|
||||
{% if haproxy_ssl_default_bind_options %}
|
||||
ssl-default-bind-options {{ haproxy_ssl_default_bind_options }}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user