diff options
Diffstat (limited to 'roles/nginx/vhost/templates/generic.conf.j2')
-rw-r--r-- | roles/nginx/vhost/templates/generic.conf.j2 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/nginx/vhost/templates/generic.conf.j2 b/roles/nginx/vhost/templates/generic.conf.j2 index 64569a5e..dae84a2f 100644 --- a/roles/nginx/vhost/templates/generic.conf.j2 +++ b/roles/nginx/vhost/templates/generic.conf.j2 @@ -13,8 +13,8 @@ server { {% endif %} {% if 'tls' in nginx_vhost %} -{% if nginx_vhost.tls.certificate_provider == 'acmetool' %} - include snippets/acmetool.conf; +{% if nginx_vhost.tls.certificate_provider == 'acmetool' or nginx_vhost.tls.certificate_provider == 'uacme' %} + include snippets/{{ nginx_vhost.tls.certificate_provider }}.conf; {% endif %} location / { @@ -36,8 +36,8 @@ server { {% endif %} {% endif %} -{% if nginx_vhost.tls.certificate_provider == 'acmetool' %} - include snippets/acmetool.conf; +{% if nginx_vhost.tls.certificate_provider == 'acmetool' or nginx_vhost.tls.certificate_provider == 'uacme' %} + include snippets/{{ nginx_vhost.tls.certificate_provider }}.conf; {% endif %} include snippets/tls{% if 'variant' in nginx_vhost.tls %}-{{ nginx_vhost.tls.variant }}{% endif %}.conf; ssl_certificate {{ x509_certificate_path_fullchain }}; |