Allow disalow oscp and hsts by default

This commit is contained in:
Dryusdan 2024-03-29 20:39:30 +01:00
parent 63b9ca29be
commit 30ac3bbe60
1 changed files with 4 additions and 0 deletions

View File

@ -13,7 +13,11 @@ ssl_certificate_key {{ item.ssl_certificate_key }};
{% endif %}
include /etc/nginx/conf.d/ssl.conf;
{% if item.disable_ocsp is defined and item.disable_ocsp is True %}
include /etc/nginx/conf.d/ocsp.conf;
{% endif %}
{% if item.disable_hsts is defined and item.disable_hsts is True %}
include /etc/nginx/conf.d/hsts.conf;
{% endif %}
{% endif %}