X-Git-Url: https://plomlompom.com/repos/test.html?a=blobdiff_plain;f=systemfiles%2Fnginx.conf;h=b9f1005591263b51a0bc4ac6d6cca1df58c25e7c;hb=7cb0ae2deda0b59db7822947b9d98eae3fb6d425;hp=4bb06e5fd7902ea731b6b136af38d2c19dd27708;hpb=47c754515a2c4eca8d8e90c75231a3a26e46f0c4;p=config
diff --git a/systemfiles/nginx.conf b/systemfiles/nginx.conf
index 4bb06e5..b9f1005 100644
--- a/systemfiles/nginx.conf
+++ b/systemfiles/nginx.conf
@@ -12,8 +12,7 @@ http {
text/html html htm shtml;
text/css css;
text/xml xml;
- text/plain txt;
- text/plain sh;
+ text/plain txt sh rst;
application/xhtml+xml xhtml;
application/pdf pdf;
image/jpeg jpg jpeg;
@@ -39,6 +38,7 @@ 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/ {
autoindex on;
}