X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fprivate%2Fwebsites%2Fchloe%2Fproduction.nix;h=6cfdb7f381580a05196207f24c571ab25f71dd4f;hb=29f8cb850d74b456d6481a456311bbf5361d328c;hp=0bf2d8fd3891a4e09d71bf8ce2bc3a66d0107508;hpb=4288c2f2431fb782b0d512b1b3749187f2374b6a;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/modules/private/websites/chloe/production.nix b/modules/private/websites/chloe/production.nix index 0bf2d8f..6cfdb7f 100644 --- a/modules/private/websites/chloe/production.nix +++ b/modules/private/websites/chloe/production.nix @@ -26,13 +26,16 @@ in { }; system.activationScripts.chloe_prod = chloe.activationScript; myServices.websites.webappDirs."${chloe.apache.webappName}" = chloe.app.webRoot; - services.websites.production.modules = chloe.apache.modules; - services.websites.production.vhostConfs.chloe = { + services.websites.env.production.modules = chloe.apache.modules; + services.websites.env.production.vhostConfs.chloe = { certName = "chloe"; certMainHost = "osteopathe-cc.fr"; hosts = ["osteopathe-cc.fr" "www.osteopathe-cc.fr" ]; root = chloe.apache.root; extraConfig = [ chloe.apache.vhostConf ]; }; + services.websites.env.production.watchPaths = [ + "/var/secrets/webapps/${chloe.app.environment}-chloe" + ]; }; }