Commit 5fba07ae9255
Changed files (1)
systems
hosts
systems/hosts/kerkouane.nix
@@ -237,9 +237,7 @@ in
locations."/" = {
index = "index.html";
extraConfig = ''
- if ($request_uri ~ ^/(.*)\.html) {
- return 302 /$1;
- }
+ default_type text/html;
try_files $uri $uri.html $uri/ =404;
fancyindex on;
fancyindex_localtime on;