From 255aedd992afd64149946209d8f98412a9bf1d31 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Fri, 7 Oct 2016 18:39:03 +0200 Subject: [PATCH] Minor nginx config optimization. --- systemfiles/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/ { -- 2.30.2