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: domains:
- "{{ domain }}" - "{{ domain }}"
acme_must_staple: yes
certificate_name: "{{ domain }}" certificate_name: "{{ domain }}"
# acme_validation_root_directory from nginx/application # acme_validation_root_directory from nginx/application

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

Loading…
Cancel
Save