Add possiblity to define ssl_trusted_certificate in case ssl.engine is not defined
Related: PROD-28628 (PROD:28628)
Change-Id: I550d3f2970005e1f463410810fffd8bc565a249b
diff --git a/nginx/files/_ssl.conf b/nginx/files/_ssl.conf
index 7bc7bd2..cff3cce 100644
--- a/nginx/files/_ssl.conf
+++ b/nginx/files/_ssl.conf
@@ -16,6 +16,7 @@
ssl_certificate_key {{ key_file }};
{%- if site.ssl.chain is defined or site.ssl.authority is defined %}
ssl_certificate {{ chain_file }};
+ ssl_trusted_certificate {{ chain_file }};
{%- else %}
ssl_certificate {{ cert_file }};
{%- endif %}