Browse Source

(feat): use lets encrypt

oscar 1 year ago
parent
commit
26f91b75e7
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      nginx/default.conf

+ 3
- 0
nginx/default.conf View File

2
     listen 80;
2
     listen 80;
3
     listen 443;
3
     listen 443;
4
 
4
 
5
+    ssl_certificate /etc/letsencrypt/archive/event.leecy.org.tw/fullchain1.pem;
6
+    ssl_certificate_key /etc/letsencrypt/archive/event.leecy.org.tw/privkey1.pem;
7
+
5
     location / {
8
     location / {
6
         index index.html;
9
         index index.html;
7
         root /var/www/fe;
10
         root /var/www/fe;