jellyfin
This commit is contained in:
parent
da37f1f222
commit
128cab7e41
3 changed files with 23 additions and 0 deletions
|
|
@ -59,6 +59,7 @@
|
|||
./nixos/services/anki.nix
|
||||
./nixos/services/forgejo.nix
|
||||
./nixos/services/vaultwarden.nix
|
||||
./nixos/services/jellyfin.nix
|
||||
] [];
|
||||
|
||||
vm-sway =
|
||||
|
|
|
|||
|
|
@ -154,6 +154,23 @@ in {
|
|||
'';
|
||||
};
|
||||
};
|
||||
"movies.tristans.cloud" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:8096";
|
||||
proxyWebsockets = true;
|
||||
extraConfig = ''
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-Forwarded-Protocol $scheme;
|
||||
proxy_set_header X-Forwarded-Host $http_host;
|
||||
proxy_buffering off;
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
security.acme = {
|
||||
|
|
|
|||
5
nixos/services/jellyfin.nix
Normal file
5
nixos/services/jellyfin.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
services.jellyfin = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue