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