Commit 45d350bd authored by omega8cc's avatar omega8cc Committed by memtkmcc

Nginx: Sync for ssl_dhparam and ssl_stapling

parent 44fc200f
......@@ -45,6 +45,13 @@ server {
}
?>
ssl on;
<?php if ($satellite_mode == 'boa'): ?>
ssl_stapling on;
ssl_stapling_verify on;
resolver 8.8.8.8 8.8.4.4 valid=300s;
resolver_timeout 5s;
ssl_dhparam /etc/ssl/private/nginx-wild-ssl.dhp;
<?php endif; ?>
ssl_certificate_key <?php print $ssl_cert_key; ?>;
<?php if (!empty($ssl_chain_cert)) : ?>
ssl_certificate <?php print $ssl_chain_cert; ?>;
......@@ -113,6 +120,13 @@ server {
} ?>;
root <?php print "{$this->root}"; ?>;
ssl on;
<?php if ($satellite_mode == 'boa'): ?>
ssl_stapling on;
ssl_stapling_verify on;
resolver 8.8.8.8 8.8.4.4 valid=300s;
resolver_timeout 5s;
ssl_dhparam /etc/ssl/private/nginx-wild-ssl.dhp;
<?php endif; ?>
ssl_certificate_key <?php print $ssl_cert_key; ?>;
<?php if (!empty($ssl_chain_cert)) : ?>
ssl_certificate <?php print $ssl_chain_cert; ?>;
......
......@@ -38,6 +38,13 @@ server {
return 302 <?php print $this->platform->server->web_disable_url . '/' . $this->uri ?>;
<?php endif; ?>
ssl on;
<?php if ($satellite_mode == 'boa'): ?>
ssl_stapling on;
ssl_stapling_verify on;
resolver 8.8.8.8 8.8.4.4 valid=300s;
resolver_timeout 5s;
ssl_dhparam /etc/ssl/private/nginx-wild-ssl.dhp;
<?php endif; ?>
ssl_certificate_key <?php print $ssl_cert_key; ?>;
<?php if (!empty($ssl_chain_cert)) : ?>
ssl_certificate <?php print $ssl_chain_cert; ?>;
......
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