]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - modules/private/websites/isabelle/aten_production.nix
Remove webappdirs
[perso/Immae/Config/Nix.git] / modules / private / websites / isabelle / aten_production.nix
index b8d12b94351f779597ab17fda7ca52b8bafa8f16..6a04710173c62db6a61a621f342ba28bf1c92188 100644 (file)
@@ -61,7 +61,7 @@ in {
       certName     = "isabelle";
       certMainHost = "aten.pro";
       hosts       = [ "aten.pro" "www.aten.pro" ];
-      root        = pcfg.webappDirs.isabelle_aten_production;
+      root        = app.webRoot;
       extraConfig = [
         ''
         <FilesMatch "\.php$">
@@ -78,7 +78,7 @@ in {
           ErrorDocument 401 "<html><meta http-equiv=\"refresh\" content=\"0;url=https://aten.pro\"></html>"
         </Location>
 
-        <Directory ${pcfg.webappDirs.isabelle_aten_production}>
+        <Directory ${app.webRoot}>
           Options Indexes FollowSymLinks MultiViews Includes
           AllowOverride All
           Require all granted