From c5f1602f941d34ad1f9e7bdb69678d0c844c9db6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 6 Feb 2021 23:36:08 +0100 Subject: [PATCH] Use local website for research --- modules/private/websites/immae/production.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/private/websites/immae/production.nix b/modules/private/websites/immae/production.nix index 7228120..439b455 100644 --- a/modules/private/websites/immae/production.nix +++ b/modules/private/websites/immae/production.nix @@ -106,9 +106,14 @@ in { certName = "immae"; addToCerts = true; hosts = [ "bouya.org" "www.bouya.org" ]; - root = null; + root = rechercheDir; extraConfig = [ '' - RedirectMatch 301 ^/((?!\.well-known.*$).*)$ https://www.normalesup.org/~bouya/ + + DirectoryIndex index.htm index.html + Options Indexes FollowSymLinks MultiViews Includes + AllowOverride All + Require all granted + '' ]; }; }; -- 2.41.0