maj readme

This commit is contained in:
2021-07-24 11:26:08 +02:00
parent 71506a71f7
commit e5f43e6051
2 changed files with 32 additions and 4 deletions
+5 -3
View File
@@ -1,3 +1,4 @@
# HTTP
server {
listen 80;
listen [::]:80;
@@ -11,6 +12,7 @@ server {
}
# HTTPS
server{
listen 443 ssl http2;
listen [::]:443 ssl http2;
@@ -33,9 +35,9 @@ server{
return 302 https://example.com/index.xml;
}
ssl on;
ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
#ssl on;
#ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;
#ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
access_log /var/log/nginx/hugo_access.log;
error_log /var/log/nginx/hugo_error.log;