backyard: update jellyfin vhost

This commit is contained in:
Tim Van Baak 2024-04-16 01:51:38 +00:00
parent dbc53ec73f
commit 5a2c7aa559

View File

@ -13,13 +13,13 @@
default = true;
locations."/".return = "444";
};
"jellyfin" = {
"jellyfin.home.ktvb.site" = {
listen = [
# Available on the local network (host managed by router)
{ addr = "jellyfin.backyard.lan"; port = 80; }
# Available by name on beatific (host managed by beatific module)
{ addr = "jellyfin.backyard.home"; port = 80; }
# Available by port on beatific until I solve DNS for non-NixOS hosts
# The router should have a static lease for this IP and a host entry naming it
{ addr = "192.168.1.236"; port = 80; }
# beatific module sends traffic over the vpn
{ addr = "10.22.20.8"; port = 80; }
# Also available on an extra port in case of port 80 troubles
{ addr = "10.22.20.8"; port = 8096; }
];
locations."/".extraConfig = ''