- services.myWebsites.production.modules = chloe_prod.apache.modules;
- services.myWebsites.production.vhostConfs.chloe = {
- certName = "chloe";
- hosts = ["osteopathe-cc.fr" "www.osteopathe-cc.fr" ];
- root = chloe_prod.webRoot;
- extraConfig = [ chloe_prod.apache.vhostConf ];
+ system.extraSystemBuilderCmds = ''
+ mkdir -p $out/webapps
+ ln -s ${chloe_prod.app.webRoot} $out/webapps/${chloe_prod.apache.webappName}
+ '';
+ services.websites.production.modules = chloe_prod.apache.modules;
+ services.websites.production.vhostConfs.chloe = {
+ certName = "chloe";
+ certMainHost = "osteopathe-cc.fr";
+ hosts = ["osteopathe-cc.fr" "www.osteopathe-cc.fr" ];
+ root = chloe_prod.apache.root;
+ extraConfig = [ chloe_prod.apache.vhostConf ];