Skip to content
Snippets Groups Projects
Commit 3c35bce3 authored by Tilman Vatteroth's avatar Tilman Vatteroth :robot:
Browse files

add ciphersuites to frontend bind

parent cb21b718
No related branches found
No related tags found
1 merge request!13Sets the default ssl ciphers to mozillas intermediate config
......@@ -5,7 +5,14 @@ frontend {{ item.name }} {%if item.ip is defined %}{{ item.ip }}{% endif %}{%if
{% if item.bind is defined -%}
{%- for bind in item.bind -%}
bind {{ bind }}{% if item.ssl is defined %}{% if item.ssl.cert is defined or item.ssl.acme_domains is defined %} ssl crt-list /etc/haproxy/{{item.name}}.certpaths {% if item.ssl.ciphers is defined %} ciphers {{ item.ssl.ciphers }}{% endif %}{% endif %}{% if item.http2 is defined and item.http2 %} alpn h2,http/1.1{% endif %}{% endif %}
bind {{ bind }}
{%- if item.ssl is defined -%}
{%- if item.ssl.cert is defined or item.ssl.acme_domains is defined %} ssl crt-list /etc/haproxy/{{item.name}}.certpaths
{%- if item.ssl.ciphers is defined %} ciphers {{ item.ssl.ciphers }}{%- endif -%}
{%- if item.ssl.ciphersuites is defined %} ciphersuites {{ item.ssl.ciphersuites }}{%- endif -%}
{%- endif -%}
{%- endif -%}
{%- if item.http2 is defined and item.http2 %} alpn h2,http/1.1{% endif -%}
{% endfor -%}
{% endif -%}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment