marisa: Cast!

This commit is contained in:
kat witch 2021-11-11 19:48:47 +00:00
parent 5459fddb01
commit a082d2a356
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
2 changed files with 19 additions and 1 deletions

View file

@ -5,7 +5,20 @@
cname = { inherit (config.network.addresses.public) target; };
};
deploy.tf.dns.records.services_owncast = {
inherit (config.network.dns) zone;
domain = "cast";
cname = { inherit (config.network.addresses.public) target; };
};
services.nginx.virtualHosts = {
"cast.${config.network.dns.domain}" = {
forceSSL = true;
enableACME = true;
locations = {
"/".proxyPass = "http://127.0.0.1:8082";
};
};
"media.${config.network.dns.domain}" = {
forceSSL = true;
enableACME = true;