mirror of
https://github.com/pikami/mail-server.git
synced 2024-11-30 22:05:42 +00:00
13 lines
396 B
Plaintext
13 lines
396 B
Plaintext
authority letsencrypt {
|
|
api url "https://acme-v02.api.letsencrypt.org/directory"
|
|
account key "/etc/acme/letsencrypt-privkey.pem"
|
|
}
|
|
|
|
{% for domain in lookup('vars', inventory_hostname + '_domains') %}
|
|
domain "{{ domain }}" {
|
|
domain key "/etc/ssl/private/{{ domain }}.key"
|
|
domain full chain certificate "/etc/ssl/{{ domain }}.fullchain.pem"
|
|
sign with letsencrypt
|
|
}
|
|
{% endfor %}
|