home · contact · privacy
Improve web server setup.
[config] / all_new_2018 / linkable_etc_files / web / etc / nginx / nginx.conf
index 1072651ca39c1006eef72735c9a4784ee715f146..c5cbe48431f38f77ed05d353b05bd0197dcaea6b 100644 (file)
@@ -26,7 +26,7 @@ http {
        #access_log /var/log/nginx/access.log;
        #error_log /var/log/nginx/error.log;
 
-        # HTTP server: only enforce HTTPS 
+        # HTTP server: only enforce HTTPS
         server {
                 listen 80;
                 return 301 https://$host$request_uri;
@@ -35,9 +35,9 @@ http {
        # HTTPS server
         server {
                 listen 443 ssl;
-                server_name web20181130.plomlompom.com;
-                ssl_certificate /etc/letsencrypt/live/web20181130.plomlompom.com/fullchain.pem;
-                ssl_certificate_key /etc/letsencrypt/live/web20181130.plomlompom.com/privkey.pem;
+                server_name REPLACE_fqdn_ECALPER;
+                ssl_certificate /etc/letsencrypt/live/REPLACE_fqdn_ECALPER/fullchain.pem;
+                ssl_certificate_key /etc/letsencrypt/live/REPLACE_fqdn_ECALPER/privkey.pem;
                 root /var/www/html/;
                index index.html index.htm index.nginx-debian.html;
         }