aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2021-02-06 23:36:08 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2021-02-06 23:36:08 +0100
commitc5f1602f941d34ad1f9e7bdb69678d0c844c9db6 (patch)
treee9df750ddc2b1a680c4350e66d5946b0effc8012 /modules
parentf7a3019f100fd37a2a26b1de5af72952010da477 (diff)
downloadNix-c5f1602f941d34ad1f9e7bdb69678d0c844c9db6.tar.gz
Nix-c5f1602f941d34ad1f9e7bdb69678d0c844c9db6.tar.zst
Nix-c5f1602f941d34ad1f9e7bdb69678d0c844c9db6.zip
Use local website for research
Diffstat (limited to 'modules')
-rw-r--r--modules/private/websites/immae/production.nix9
1 files 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 {
106 certName = "immae"; 106 certName = "immae";
107 addToCerts = true; 107 addToCerts = true;
108 hosts = [ "bouya.org" "www.bouya.org" ]; 108 hosts = [ "bouya.org" "www.bouya.org" ];
109 root = null; 109 root = rechercheDir;
110 extraConfig = [ '' 110 extraConfig = [ ''
111 RedirectMatch 301 ^/((?!\.well-known.*$).*)$ https://www.normalesup.org/~bouya/ 111 <Directory ${rechercheDir}>
112 DirectoryIndex index.htm index.html
113 Options Indexes FollowSymLinks MultiViews Includes
114 AllowOverride All
115 Require all granted
116 </Directory>
112 '' ]; 117 '' ];
113 }; 118 };
114 }; 119 };