Skip to content

Commit

Permalink
meteion: fix Caddy and Jellyfin configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
reckenrode committed Dec 8, 2024
1 parent 9b6665a commit 4738648
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions hosts/meteion/file-server.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ in
header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"
encode zstd gzip
redir /jellyfin /jellyfin/
reverse_proxy /jellyfin/* 127.0.0.1:8096
encode zstd gzip
handle /files/* {
uri strip_prefix /files
root * /srv/samba/tabletop-group
Expand Down
13 changes: 7 additions & 6 deletions hosts/meteion/jellyfin-server.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
services.jellyfin.enable = true;

networking.nftables.ruleset = ''
table inet filter {
chain input {
tcp dport { 8096, 8920 } accept
udp dport { 1900, 7359 } accept
}
table inet filter {
chain input {
tcp dport { 8096, 8920 } accept
udp dport { 1900, 7359 } accept
}
'';
}
'';
}

0 comments on commit 4738648

Please sign in to comment.