diff --git a/templates/reverse_proxy.conf.j2 b/templates/reverse_proxy.conf.j2 index c279ba1..6e50f7a 100644 --- a/templates/reverse_proxy.conf.j2 +++ b/templates/reverse_proxy.conf.j2 @@ -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 %} }