1 { lib, pkgs, config, myconfig, mylibs, ... }:
3 cfg = config.services.myWebsites.Release;
4 varDir = "/var/lib/ftp/release.immae.eu";
5 env = myconfig.env.websites.release;
7 options.services.myWebsites.Release = {
9 enable = lib.mkEnableOption "enable Release' website";
17 config = lib.mkIf cfg.production.enable {
18 services.myWebsites.commons.stats.enable = true;
19 services.myWebsites.commons.stats.sites = [
21 name = "release.immae.eu";
22 conf = ./release_goaccess.conf;
26 security.acme.certs."eldiron".extraDomains."release.immae.eu" = null;
28 services.myWebsites.production.vhostConfs.release = {
30 hosts = [ "release.immae.eu" ];
34 Use Stats release.immae.eu
36 Use Apaxy "${varDir}" "title .duplicity-ignore"
37 <Directory "${varDir}">
44 <Directory "${varDir}/packages">
46 Options Indexes FollowSymlinks