all repos — nixfiles @ 1fabeff0804f798699fde06143a47e727640b177

System and user configuration, managed by nix and home-manager

video-library: also listen on tailscale interface

Alin
commit

1fabeff0804f798699fde06143a47e727640b177

parent

f4659f649543ed5762b0dd049f940fa75870c891

1 file changed, 16 insertions(+), 4 deletions(-)

changed files
M system/roles/video-library.nix → system/roles/video-library.nix
@@ -5,7 +5,13 @@ ...
}: let inherit (config.networking) domain fqdn; - inherit (import ../../data) homenet; + inherit (import ../../data) homenet tailnet; + upstream = '' + reverse_proxy localhost:8096 { + health_uri /health + health_body Healthy + } + ''; in { services.jellyfin = {
@@ -22,10 +28,16 @@ ca home
} } ''} - reverse_proxy localhost:8096 { - health_uri /health - health_body Healthy + ${upstream} + ''; + }; + "jf.${tailnet}" = { + extraConfig = '' + bind tailscale/jf + tls { + get_certificate tailscale } + ${upstream} ''; }; };