Revert "Revert "Allow disalow oscp and hsts by default""

This reverts commit b08e60fe71.
This commit is contained in:
Dryusdan 2024-03-30 12:50:17 +01:00
parent b08e60fe71
commit 067abe425b
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 %}