X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=systemfiles%2Fnginx.conf;h=07d6bdebf7e80f38f8cb078185ff593ea9521cc4;hb=0d72cfd4681a9494cf5c7d33877e124bdcc114f7;hp=b9f1005591263b51a0bc4ac6d6cca1df58c25e7c;hpb=7cb0ae2deda0b59db7822947b9d98eae3fb6d425;p=config diff --git a/systemfiles/nginx.conf b/systemfiles/nginx.conf index b9f1005..07d6bde 100644 --- a/systemfiles/nginx.conf +++ b/systemfiles/nginx.conf @@ -12,7 +12,7 @@ http { text/html html htm shtml; text/css css; text/xml xml; - text/plain txt sh rst; + text/plain txt sh rst md; application/xhtml+xml xhtml; application/pdf pdf; image/jpeg jpg jpeg; @@ -38,8 +38,8 @@ http { ssl_certificate /etc/letsencrypt/live/dump.plomlompom.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/dump.plomlompom.com/privkey.pem; root /var/www/html/; - rewrite ^(/lifelog/(.*/)*[^./]+)$ $1.html; - location /lifelog/ { + location /zettel/ { + rewrite ^(/zettel/(.*/)*[^./]+)$ $1.html; autoindex on; } location /dump/ {