jellyfin: patch port 8096 being open

All jellyfin traffic should actually go through caddy.
This port being open caused a lot of confusion for me.
As I was getting traffic from typo'd domain names,
such as `jellfin.gardling.com`, which made NO SENSE!
But since it was going directly via port 8096, it
skipped caddy entirely so the traffic went through.
This commit is contained in:
2026-03-04 13:29:54 -05:00
parent 719e1c83d0
commit 643df612ad
2 changed files with 3 additions and 2 deletions

View File

@@ -19,8 +19,6 @@
services.jellyfin = { services.jellyfin = {
enable = true; enable = true;
# used for local streaming
openFirewall = true;
package = pkgs.jellyfin.override { jellyfin-ffmpeg = (lib.optimizePackage pkgs.jellyfin-ffmpeg); }; package = pkgs.jellyfin.override { jellyfin-ffmpeg = (lib.optimizePackage pkgs.jellyfin-ffmpeg); };
inherit (service_configs.jellyfin) dataDir cacheDir; inherit (service_configs.jellyfin) dataDir cacheDir;

View File

@@ -55,6 +55,9 @@ pkgs.testers.runNixOSTest {
jellyfinModule jellyfinModule
]; ];
# needed for testing
services.jellyfin.openFirewall = true;
# Create the media group # Create the media group
users.groups.media = { }; users.groups.media = { };