feat: Allow omiting a chainfile when we don't have nor need one
This commit is contained in:
parent
ba97fe4dce
commit
317347e88f
|
|
@ -4,7 +4,7 @@
|
|||
SSLEngine on
|
||||
SSLCertificateKeyFile {{ APACHE_CONFIG.ssl.path }}/{{ name }}.key
|
||||
SSLCertificateFile {{ APACHE_CONFIG.ssl.path }}/{{ name }}.crt
|
||||
{% if site.ssl.mode != 'selfsigned' %}
|
||||
{% if site.ssl.mode != 'selfsigned' and not site.ssl.no_chainfile | default(true) %}
|
||||
SSLCertificateChainFile {{ APACHE_CONFIG.ssl.path }}/{{ name }}{% if site.ssl.mode == 'letsencrypt' %}.fullchain{% else %}.chain{% endif %}.crt
|
||||
{% endif %}
|
||||
</IfModule>
|
||||
|
|
|
|||
Loading…
Reference in New Issue