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;
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 ^(/zettel/(.*/)*[^./]+)$ $1.html;
location /zettel/ {
+ # rewrite non-suffixed filenames to .html ones
+ rewrite ^(/zettel/(.*/)*[^./]+)$ $1.html;
autoindex on;
}
location /dump/ {
auth_basic_user_file /var/www/password_lesekreis;
autoindex on;
}
+ location /uwsgi/ {
+ include uwsgi_params;
+ uwsgi_pass 127.0.0.1:3031;
+ }
}
# htwtxt