summaryrefslogtreecommitdiff
path: root/modules/websites/php-application.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/websites/php-application.nix')
-rw-r--r--modules/websites/php-application.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/websites/php-application.nix b/modules/websites/php-application.nix
index 7bbae50a..765d4067 100644
--- a/modules/websites/php-application.nix
+++ b/modules/websites/php-application.nix
@@ -97,14 +97,14 @@ in
97 }; 97 };
98 98
99 config = { 99 config = {
100 services.websites = attrsets.mapAttrs' (name: cfgs: attrsets.nameValuePair 100 services.websites.env = attrsets.mapAttrs' (name: cfgs: attrsets.nameValuePair
101 name { 101 name {
102 modules = [ "proxy_fcgi" ]; 102 modules = [ "proxy_fcgi" ];
103 watchPaths = builtins.concatLists (map (c: c.watchFiles) cfgs); 103 watchPaths = builtins.concatLists (map (c: c.watchFiles) cfgs);
104 } 104 }
105 ) cfgByEnv; 105 ) cfgByEnv;
106 106
107 services.websitesWebappDirs = attrsets.mapAttrs' (name: icfg: attrsets.nameValuePair 107 services.websites.webappDirs = attrsets.mapAttrs' (name: icfg: attrsets.nameValuePair
108 icfg.webappName icfg.webRoot 108 icfg.webappName icfg.webRoot
109 ) (attrsets.filterAttrs (n: v: !isNull v.webappName && !isNull v.webRoot) cfg); 109 ) (attrsets.filterAttrs (n: v: !isNull v.webappName && !isNull v.webRoot) cfg);
110 110