diff options
author | April King <april@mozilla.com> | 2020-01-18 00:28:25 +0300 |
---|---|---|
committer | April King <april@mozilla.com> | 2020-01-18 00:28:25 +0300 |
commit | d62932637c3280484d033677e1d178159e7d64d1 (patch) | |
tree | 2829f655e24ada640e0811c9e20b7861c068f5ad | |
parent | 0499c34b8b403bc715c7a885f1227fde1e100cd8 (diff) |
Tidy up nginx config
-rw-r--r-- | src/templates/partials/nginx.hbs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/templates/partials/nginx.hbs b/src/templates/partials/nginx.hbs index 591550c..8e9ccfd 100644 --- a/src/templates/partials/nginx.hbs +++ b/src/templates/partials/nginx.hbs @@ -4,7 +4,6 @@ server { listen 80 default_server; listen [::]:80 default_server; - # redirect all HTTP requests to HTTPS with a 301 Moved Permanently response. return 301 https://$host$request_uri; } @@ -18,7 +17,6 @@ server { listen [::]:443 ssl; {{/if}} - # certs sent to the client in SERVER HELLO are concatenated in ssl_certificate ssl_certificate /path/to/signed_cert_plus_intermediates; ssl_certificate_key /path/to/private_key; ssl_session_timeout 1d; |