config = lib.mkIf cfg.production.enable {
services.myWebsites.commons.stats.enable = true;
services.myWebsites.commons.stats.sites = [
- {
- name = "www.immae.eu";
- conf = ./immae_goaccess.conf;
- }
+ { name = "www.immae.eu"; }
];
security.acme.certs."eldiron".extraDomains."www.immae.eu" = null;
''
];
};
+
+ security.acme.certs."eldiron".extraDomains."bouya.org" = null;
+ security.acme.certs."eldiron".extraDomains."www.bouya.org" = null;
+ services.myWebsites.production.vhostConfs.bouya = {
+ certName = "eldiron";
+ hosts = [ "bouya.org" "www.bouya.org" ];
+ root = null;
+ extraConfig = [ ''
+ RedirectMatch 301 ^/((?!\.well-known.*$).*)$ https://www.normalesup.org/~bouya/
+ '' ];
+ };
};
}