diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-11 02:19:10 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-11 02:28:20 +0200 |
commit | b7ee93fcdee2509cd4c0caec2c5c59ccff5bab2c (patch) | |
tree | 231d151cbf4f5d51e6ddac11a4355cacddc4b847 /nixops/modules/websites/ftp/leila.nix | |
parent | f826c67c0ff51c9724e8f54da6c9cbef78977858 (diff) | |
download | Nix-b7ee93fcdee2509cd4c0caec2c5c59ccff5bab2c.tar.gz Nix-b7ee93fcdee2509cd4c0caec2c5c59ccff5bab2c.tar.zst Nix-b7ee93fcdee2509cd4c0caec2c5c59ccff5bab2c.zip |
Make goaccess a template
Diffstat (limited to 'nixops/modules/websites/ftp/leila.nix')
-rw-r--r-- | nixops/modules/websites/ftp/leila.nix | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/nixops/modules/websites/ftp/leila.nix b/nixops/modules/websites/ftp/leila.nix index ae917ba..d5c27fa 100644 --- a/nixops/modules/websites/ftp/leila.nix +++ b/nixops/modules/websites/ftp/leila.nix | |||
@@ -1,4 +1,4 @@ | |||
1 | { lib, config, ... }: | 1 | { lib, pkgs, config, ... }: |
2 | let | 2 | let |
3 | cfg = config.services.myWebsites.Leila; | 3 | cfg = config.services.myWebsites.Leila; |
4 | varDir = "/var/lib/ftp/leila"; | 4 | varDir = "/var/lib/ftp/leila"; |
@@ -39,14 +39,8 @@ in { | |||
39 | 39 | ||
40 | services.myWebsites.commons.stats.enable = true; | 40 | services.myWebsites.commons.stats.enable = true; |
41 | services.myWebsites.commons.stats.sites = [ | 41 | services.myWebsites.commons.stats.sites = [ |
42 | { | 42 | { name = "leila.bouya.org"; } |
43 | name = "leila.bouya.org"; | 43 | { name = "chorale.leila.bouya.org"; } |
44 | conf = ./leila_goaccess.conf; | ||
45 | } | ||
46 | { | ||
47 | name = "chorale.leila.bouya.org"; | ||
48 | conf = ./leila_chorale_goaccess.conf; | ||
49 | } | ||
50 | ]; | 44 | ]; |
51 | 45 | ||
52 | services.myWebsites.production.modules = [ "proxy_fcgi" ]; | 46 | services.myWebsites.production.modules = [ "proxy_fcgi" ]; |