1 { lib, pkgs, config, ... }:
3 cfg = config.myServices.websites.immae.temp;
4 varDir = "/var/lib/ftp/temp.immae.eu";
5 env = config.myEnv.websites.temp;
7 options.myServices.websites.immae.temp.enable = lib.mkEnableOption "enable Temp' website";
9 config = lib.mkIf cfg.enable {
10 services.websites.env.production.modules = [ "headers" ];
11 services.websites.env.production.vhostConfs.immae_temp = {
14 hosts = [ "temp.immae.eu" ];
18 Use Apaxy "${varDir}" "title .duplicity-ignore"
19 <Directory "${varDir}">
25 <DirectoryMatch "${varDir}/(.+)">