mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
17 lines
327 B
Nix
17 lines
327 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
services.nginx.virtualHosts = {
|
|
"files.kittywit.ch" = {
|
|
root = "/var/www/files";
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
};
|
|
};
|
|
|
|
deploy.tf.dns.records.kittywitch_files = {
|
|
tld = "kittywit.ch.";
|
|
domain = "files";
|
|
cname.target = "athame.kittywit.ch.";
|
|
};
|
|
}
|