From a0d8ee0c62a376172c260548b89a74df322fa8a5 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 10 Dec 2022 15:53:51 +0000 Subject: [PATCH] fix pretty urls for blog --- common/website.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/website.conf b/common/website.conf index e92f51c..0ed3cf5 100644 --- a/common/website.conf +++ b/common/website.conf @@ -21,6 +21,8 @@ location /media { location /blog { alias /var/www/website/blog; + try_files $uri $uri/index.html $uri.html $uri/ @extensionless-php; + index index.html; } location /canaries {