Commit 3b1a198f authored by omega8cc's avatar omega8cc

Nginx: Use ssl_chain_cert if available (via hosting_le)

parent f7e2d8dd
...@@ -38,9 +38,12 @@ server { ...@@ -38,9 +38,12 @@ server {
return 302 <?php print $this->platform->server->web_disable_url . '/' . $this->uri ?>; return 302 <?php print $this->platform->server->web_disable_url . '/' . $this->uri ?>;
<?php endif; ?> <?php endif; ?>
ssl on; ssl on;
ssl_certificate <?php print $ssl_cert; ?>;
ssl_certificate_key <?php print $ssl_cert_key; ?>; ssl_certificate_key <?php print $ssl_cert_key; ?>;
keepalive_timeout 70; <?php if (!empty($ssl_chain_cert)) : ?>
ssl_certificate <?php print $ssl_chain_cert; ?>;
<?php else: ?>
ssl_certificate <?php print $ssl_cert; ?>;
<?php endif; ?>
} }
<?php endif; ?> <?php endif; ?>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment