Changes

no edit summary
Line 1: Line 1:  
Below is a SSL configuration for the nginx web server version 1.17.0, using OpenSSL version 1.1.1. This configuration file was generated by the [https://ssl-config.mozilla.org/ Mozilla SSL Configuration Generator.]
 
Below is a SSL configuration for the nginx web server version 1.17.0, using OpenSSL version 1.1.1. This configuration file was generated by the [https://ssl-config.mozilla.org/ Mozilla SSL Configuration Generator.]
 
<pre>
 
<pre>
 +
 
# generated 2019-09-09, https://ssl-config.mozilla.org/#server=nginx&server-version=1.17.0&config=intermediate&openssl-version=1.1.1
 
# generated 2019-09-09, https://ssl-config.mozilla.org/#server=nginx&server-version=1.17.0&config=intermediate&openssl-version=1.1.1
 
server {
 
server {
     listen 80 default_server;
+
      
 +
listen 80 default_server;
 
     listen [::]:80 default_server;
 
     listen [::]:80 default_server;
    
     # redirect all HTTP requests to HTTPS with a 301 Moved Permanently response.
 
     # redirect all HTTP requests to HTTPS with a 301 Moved Permanently response.
 
     return 301 https://$host$request_uri;
 
     return 301 https://$host$request_uri;
 +
 
}
 
}
    
server {
 
server {
     listen 443 ssl http2;
+
      
 +
listen 443 ssl http2;
 
     listen [::]:443 ssl http2;
 
     listen [::]:443 ssl http2;
   Line 42: Line 46:  
     # replace with the IP address of your resolver
 
     # replace with the IP address of your resolver
 
     resolver 127.0.0.1;
 
     resolver 127.0.0.1;
 +
 
}
 
}