]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - modules/private/websites/ludivine/integration.nix
Remove webappdirs
[perso/Immae/Config/Nix.git] / modules / private / websites / ludivine / integration.nix
index cfef3857527cc98b3d7f81ecebf53353c61e5a3b..99c9acf187e1980d9ea78c09617bf124af1d9321 100644 (file)
@@ -90,7 +90,7 @@ in {
       certName    = "integration";
       addToCerts  = true;
       hosts       = [ "ludivine.immae.eu" ];
-      root        = pcfg.webappDirs.ludivine_integration;
+      root        = app.webRoot;
       extraConfig = [
         ''
         <FilesMatch "\.php$">
@@ -103,7 +103,7 @@ in {
           ErrorDocument 401 "<html><meta http-equiv=\"refresh\" content=\"0;url=https://ludivinecassal.com\"></html>"
         </Location>
 
-        <Directory ${pcfg.webappDirs.ludivine_integration}>
+        <Directory ${app.webRoot}>
           Options Indexes FollowSymLinks MultiViews Includes
           AllowOverride None
           Require all granted