mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
14 lines
374 B
Nix
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;
|
|
}
|