forked from ISTI-ansible-roles/ansible-roles
library/roles/nginx/templates/nginx-server-ssl.conf.j2: Fix the syntax of a comparison.
This commit is contained in:
parent
71b64563a7
commit
13d8864f80
|
@ -19,7 +19,7 @@ ssl_protocols TLSv1.2;
|
||||||
ssl_ciphers 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256';
|
ssl_ciphers 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256';
|
||||||
{% endif %}
|
{% endif %}
|
||||||
ssl_prefer_server_ciphers on;
|
ssl_prefer_server_ciphers on;
|
||||||
{% if ansible_distribution_version | version_compare('14.04', '>=') %}
|
{% if ansible_distribution_version is version_compare('14.04', '>=') %}
|
||||||
ssl_stapling on;
|
ssl_stapling on;
|
||||||
ssl_stapling_verify on;
|
ssl_stapling_verify on;
|
||||||
{% if letsencrypt_acme_install is defined and letsencrypt_acme_install %}
|
{% if letsencrypt_acme_install is defined and letsencrypt_acme_install %}
|
||||||
|
|
Loading…
Reference in New Issue