Skip to content
Snippets Groups Projects
Unverified Commit 27a1a697 authored by Simon Li's avatar Simon Li
Browse files

supplementary_addresses_in_ssl_keys can be a hostname

parent c1267004
No related branches found
No related tags found
No related merge requests found
...@@ -29,6 +29,10 @@ IP.{{ idx + 1 }} = 127.0.0.1 ...@@ -29,6 +29,10 @@ IP.{{ idx + 1 }} = 127.0.0.1
{% if supplementary_addresses_in_ssl_keys is defined %} {% if supplementary_addresses_in_ssl_keys is defined %}
{% set is = idx + 1 %} {% set is = idx + 1 %}
{% for addr in supplementary_addresses_in_ssl_keys %} {% for addr in supplementary_addresses_in_ssl_keys %}
{% if addr | ipaddr %}
IP.{{ is + loop.index }} = {{ addr }} IP.{{ is + loop.index }} = {{ addr }}
{% else %}
DNS.{{ is + loop.index }} = {{ addr }}
{% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment