feat: added option for config snippet
This commit is contained in:
parent
95d6a39509
commit
8f2523d54f
1 changed files with 6 additions and 1 deletions
|
@ -9,6 +9,12 @@ server {
|
|||
listen [::]:443 ssl http2;
|
||||
server_name {{ item.value.domains | join(' ') }};
|
||||
|
||||
{% if item.value.config_snippet is defined %}
|
||||
{% for snippet in item.value.config_snippet %}
|
||||
{{ snippet }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
ssl_certificate {{ tls_cert_path }}/{{ item.value.certificate }}.fullchain;
|
||||
ssl_certificate_key {{ tls_cert_path }}/{{ item.value.certificate }}.key;
|
||||
# verify chain of trust of OCSP response using Root CA and Intermediate certs
|
||||
|
@ -58,6 +64,5 @@ server {
|
|||
{% endfor %}
|
||||
{% endif %}
|
||||
}
|
||||
|
||||
{% endfor %}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue