mediaserver: wip jellyfin
This commit is contained in:
parent
069239e1c0
commit
e8294c4114
1 changed files with 20 additions and 5 deletions
|
@ -9,21 +9,36 @@
|
|||
};
|
||||
|
||||
services.nginx.virtualHosts."jellyfin.internal.kempkens.network" = {
|
||||
listen = [{
|
||||
listen = [
|
||||
{
|
||||
addr = "0.0.0.0";
|
||||
port = 9920;
|
||||
ssl = true;
|
||||
}];
|
||||
}
|
||||
|
||||
{
|
||||
addr = "[::0]";
|
||||
port = 9920;
|
||||
ssl = true;
|
||||
}
|
||||
];
|
||||
|
||||
quic = true;
|
||||
http3 = true;
|
||||
|
||||
serverAliases = [ "jellyfin.home.kempkens.io" ];
|
||||
|
||||
onlySSL = true;
|
||||
useACMEHost = "internal.kempkens.network";
|
||||
|
||||
locations."/" = {
|
||||
recommendedProxySettings = true;
|
||||
proxyPass = "http://127.0.0.1:8096";
|
||||
};
|
||||
|
||||
locations."/socket" = {
|
||||
recommendedProxySettings = true;
|
||||
proxyPass = "http://127.0.0.1:8096";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue