Serve routes without .html file extension

This commit is contained in:
thiloho
2024-09-07 18:22:58 +02:00
parent 6a7e64ccaf
commit 9a8a333823
7 changed files with 11 additions and 11 deletions

View File

@@ -70,7 +70,7 @@
"/" = {
root = "/var/www/archtika-websites";
index = "index.html";
tryFiles = "$uri $uri/ $uri/index.html =404";
tryFiles = "$uri $uri/ $uri.html $uri/index.html index.html =404";
extraConfig = ''
autoindex on;
'';