X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fprivate%2Fwebsites%2Fdefault.nix;h=0d420ea0905cd7c225c89e404631ba9c91f67db1;hb=29f8cb850d74b456d6481a456311bbf5361d328c;hp=8b02977c98ff8111e300ae446463be7cead4b37b;hpb=4288c2f2431fb782b0d512b1b3749187f2374b6a;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/modules/private/websites/default.nix b/modules/private/websites/default.nix index 8b02977..0d420ea 100644 --- a/modules/private/websites/default.nix +++ b/modules/private/websites/default.nix @@ -138,7 +138,11 @@ in ''; }; - services.websites.production = { + services.filesWatcher.httpdProd.paths = [ "/var/secrets/apache-ldap" ]; + services.filesWatcher.httpdInte.paths = [ "/var/secrets/apache-ldap" ]; + services.filesWatcher.httpdTools.paths = [ "/var/secrets/apache-ldap" ]; + + services.websites.env.production = { enable = true; adminAddr = "httpd@immae.eu"; httpdName = "Prod"; @@ -155,7 +159,7 @@ in }; }; - services.websites.integration = { + services.websites.env.integration = { enable = true; adminAddr = "httpd@immae.eu"; httpdName = "Inte"; @@ -172,7 +176,7 @@ in }; }; - services.websites.tools = { + services.websites.env.tools = { enable = true; adminAddr = "httpd@immae.eu"; httpdName = "Tools";