11 lines
258 B
Plaintext
11 lines
258 B
Plaintext
|
server {
|
||
|
listen 80;
|
||
|
listen 443 ssl;
|
||
|
|
||
|
ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;
|
||
|
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
|
||
|
|
||
|
root /var/www/myblog;
|
||
|
index index.html;
|
||
|
try_files $uri $uri.html;
|
||
|
}
|