From: Christian Heller Date: Fri, 7 Oct 2016 16:39:03 +0000 (+0200) Subject: Minor nginx config optimization. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/new_day?a=commitdiff_plain;h=255aedd992afd64149946209d8f98412a9bf1d31;p=config Minor nginx config optimization. --- diff --git a/systemfiles/nginx.conf b/systemfiles/nginx.conf index ffbe96b..3005bfa 100644 --- a/systemfiles/nginx.conf +++ b/systemfiles/nginx.conf @@ -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 ^(/zettel/(.*/)*[^./]+)$ $1.html; location /zettel/ { + rewrite ^(/zettel/(.*/)*[^./]+)$ $1.html; autoindex on; } location /dump/ {