Change the default fullchain path
This commit is contained in:
parent
bef6836069
commit
b25d586850
|
@ -43,7 +43,12 @@ ssl_stapling_verify on;
|
||||||
{% if letsencrypt_acme_install is defined and letsencrypt_acme_install %}
|
{% if letsencrypt_acme_install is defined and letsencrypt_acme_install %}
|
||||||
ssl_trusted_certificate {{ letsencrypt_acme_certs_dir }}/fullchain;
|
ssl_trusted_certificate {{ letsencrypt_acme_certs_dir }}/fullchain;
|
||||||
{% else %}
|
{% else %}
|
||||||
ssl_trusted_certificate {{ nginx_ssl_fullchain_file | default('/etc/nginx/ssl/cacert.crt') }};
|
{% if ansible_distribution_file_variety == "Debian" %}
|
||||||
|
ssl_trusted_certificate {{ nginx_ssl_fullchain_file | default('/etc/ssl/certs/ca-certificates.crt') }};
|
||||||
|
{% if ansible_distribution_file_variety == "RedHat" %}
|
||||||
|
ssl_trusted_certificate {{ nginx_ssl_fullchain_file | default('/etc/pki/tls/cert.pem') }};
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
add_header Strict-Transport-Security "max-age={{ nginx_strict_transport_security_expire }}{% if nginx_strict_transport_security_include_subdomains %}; includeSubdomains{% endif %}";
|
add_header Strict-Transport-Security "max-age={{ nginx_strict_transport_security_expire }}{% if nginx_strict_transport_security_include_subdomains %}; includeSubdomains{% endif %}";
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue