blob: 9453cecff276829b1f702da087ac5dbd0c812de4 (
plain) (
tree)
|
|
# managed by Ansible
{% import 'macros.j2' as macros with context %}
authority {{ acme_authority_name }} {
api url "{{ acme_authority_url }}"
account key "{{ acme_authority_key }}"
}
{% call(h) macros.loop_valid_hosts(relayd_connected_hosts) -%}
{% for rule in h.acme_rules %}
domain {{ rule.domain }} {
alternative names { www.{{ rule.domain }} }
domain key "{{ acme_keys_dir }}/{{ rule.domain }}.key"
domain full chain certificate "{{ acme_certificates_dir }}/{{ rule.domain }}.crt"
sign with {{ acme_authority_name }}
}
{% endfor %}
{%- endcall %}
|