acme/certificate: Defined must-staple optional for certificate

dehydrated
Felix Stupp 4 years ago
parent c66dbe42c4
commit 482200821e
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -5,6 +5,8 @@ domain: "{{ domains[0] }}"
domains:
- "{{ domain }}"
acme_must_staple: yes
certificate_name: "{{ domain }}"
# acme_validation_root_directory from nginx/application

@ -6,7 +6,7 @@
certbot certonly
--non-interactive
--cert-name {{ certificate_name | quote }}
--must-staple
{% if acme_must_staple %}--must-staple{% endif %}
--disable-hook-validation
--post-hook {{ ( '(' + (all_reload_commands | join(') && (')) + ')' ) | quote }}
{% for d in domains %}

Loading…
Cancel
Save