home · contact · privacy
Minor nginx config optimization.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 7 Oct 2016 16:39:03 +0000 (18:39 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 7 Oct 2016 16:39:03 +0000 (18:39 +0200)
systemfiles/nginx.conf

index ffbe96bfba486885c00cab55e7c04c59ea2c03f9..3005bfad8edbd1ba8475354a9372356ca63f5681 100644 (file)
@@ -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/ {