mirror of https://github.com/ceph/ceph-ansible.git
ceph-rgw-loadbalancer: Fix SSL newline issue
The ad7a5da
commit introduced a regression when using TLS on haproxy
via the haproxy_frontend_ssl_certificate variable.
This cause the "stats socket" and the "tune.ssl.default-dh-param"
parameters to be on the same line resulting haproxy failing to start.
[ALERT] 351/140240 (21388) : parsing [xxxxx] : 'stats socket' : unknown
keyword 'tune.ssl.default-dh-param'. Registered
[ALERT] 351/140240 (21388) : Fatal errors found in configuration.
Fixes: #4869
Signed-off-by: Florian Faltermeier <florian.faltermeier@uibk.ac.at>
pull/5054/head
parent
16e12bf2bb
commit
9d081e2453
|
@ -9,7 +9,7 @@ global
|
||||||
group haproxy
|
group haproxy
|
||||||
daemon
|
daemon
|
||||||
stats socket /var/lib/haproxy/stats
|
stats socket /var/lib/haproxy/stats
|
||||||
{%- if haproxy_frontend_ssl_certificate %}
|
{% if haproxy_frontend_ssl_certificate %}
|
||||||
tune.ssl.default-dh-param {{ haproxy_ssl_dh_param }}
|
tune.ssl.default-dh-param {{ haproxy_ssl_dh_param }}
|
||||||
ssl-default-bind-ciphers {{ haproxy_ssl_ciphers | join(':') }}
|
ssl-default-bind-ciphers {{ haproxy_ssl_ciphers | join(':') }}
|
||||||
ssl-default-bind-options {{ haproxy_ssl_options | join(' ') }}
|
ssl-default-bind-options {{ haproxy_ssl_options | join(' ') }}
|
||||||
|
|
Loading…
Reference in New Issue