1 { lib, pkgs, config, myconfig, ... }:
3 cfg = config.myServices.websites.immae.production;
4 varDir = "/var/lib/buildbot/outputs/immaeEu";
5 env = myconfig.env.websites.immae;
7 options.myServices.websites.immae.production.enable = lib.mkEnableOption "enable Immae's website";
9 config = lib.mkIf cfg.enable {
10 services.webstats.sites = [ { name = "www.immae.eu"; } ];
12 services.websites.env.production.vhostConfs.immae = {
15 hosts = [ "www.immae.eu" ];
19 Use Stats www.immae.eu
22 DirectoryIndex index.php index.htm index.html
23 Options Indexes FollowSymLinks MultiViews Includes
31 services.websites.env.production.vhostConfs.bouya = {
34 hosts = [ "bouya.org" "www.bouya.org" ];
37 RedirectMatch 301 ^/((?!\.well-known.*$).*)$ https://www.normalesup.org/~bouya/