infrastructure/hosts/athame/nixos/virtualhosts.nix
2021-03-26 23:49:04 +00:00

14 lines
374 B
Nix

{ config, pkgs, witch, ... }:
let
common = {
enableACME = true;
forceSSL = true;
};
in {
services.nginx.virtualHosts = {
"kittywit.ch" = { root = pkgs.kat-website; } // common;
"athame.kittywit.ch" = { root = "/var/www/athame"; } // common;
"files.kittywit.ch" = { root = "/var/www/files"; } // common;
} // witch.secrets.virtualHosts.athame;
}