aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
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 };