Browse Source

Update 'examples.of.what.worked.for.me/etc/nginx/sites-available/default'

thenoob 1 year ago
parent
commit
d3cb67f066
1 changed files with 1 additions and 20 deletions
  1. 1
    20
      examples.of.what.worked.for.me/etc/nginx/sites-available/default

+ 1
- 20
examples.of.what.worked.for.me/etc/nginx/sites-available/default View File

@@ -9,24 +9,5 @@ server {
9 9
  fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;}
10 10
  location ~ /\.ht {
11 11
  deny all;}
12
-    listen [::]:443 ssl ipv6only=on; # managed by Certbot
13
-    listen 443 ssl; # managed by Certbot
14
-    ssl_certificate /etc/letsencrypt/live/put.your.domain.here/fullchain.pem; # managed by Certbot
15
-    ssl_certificate_key /etc/letsencrypt/live/put.your.domain.here/privkey.pem; # managed by Certbot
16
-    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
17
-    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
18 12
 
19
-}
20
-server {
21
-    if ($host =  put.your.domain.here) {
22
-        return 301 https://$host$request_uri;
23
-    } # managed by Certbot
24
-
25
-
26
- listen 80 default_server;
27
- listen [::]:80 default_server;
28
- server_name  put.your.domain.here;
29
-    return 404; # managed by Certbot
30
-
31
-
32
-}
13
+}

Loading…
Cancel
Save