diff --git a/machine/backyard/jellyfin.nix b/machine/backyard/jellyfin.nix index e5c4d1a..523b44f 100644 --- a/machine/backyard/jellyfin.nix +++ b/machine/backyard/jellyfin.nix @@ -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 = ''