home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 93d13ac99c0b93947fa24d794fc2e95f71e79c5e
parent c1e8fe9f7569c76d4d35f349b6996ce35c9f6c26
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Tue, 31 May 2022 13:56:42 +0200

git-annex in naruhodo

Diffstat:
Msystems/hosts/kerkouane.nix | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/systems/hosts/kerkouane.nix b/systems/hosts/kerkouane.nix @@ -237,6 +237,10 @@ in locations."/" = { index = "index.html"; extraConfig = '' + if ($request_uri ~ ^/(.*)\.html) { + return 302 /$1; + } + try_files $uri $uri.html $uri/ =404; fancyindex on; fancyindex_localtime on; fancyindex_exact_size off;