{ config, ... }: { name = "mediakiwi"; description = "Wiki du Crans"; id = 144; enable = true; networking = { srv-nat.enable = true; }; reverseproxy.vhosts = { "mediawiki" = { anubisConfig = [ { name = "allow-mediawiki-images"; path_regex = "^/w/images/.*"; action = "ALLOW"; } { name = "allow-mediawiki-api"; path_regex = "^/w/api.php.*"; action = "ALLOW"; } { name = "challenge-other"; path_regex = ".*"; action = "CHALLENGE"; } ]; proxyPass = config.networking.adm.ipv4.address; aliases = [ "mediakiwi" ]; }; }; monitoring = { nginx.enable = true; }; publicSsh = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFfcKtim7Aj+strHdg847D7KCCdoOAuasxx/2yi2TY1n root@mediakiwi"; resticClient.when = "06:47"; }