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" = {
|
services.nginx.virtualHosts."jellyfin.internal.kempkens.network" = {
|
||||||
listen = [{
|
listen = [
|
||||||
addr = "0.0.0.0";
|
{
|
||||||
port = 9920;
|
addr = "0.0.0.0";
|
||||||
ssl = true;
|
port = 9920;
|
||||||
}];
|
ssl = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
addr = "[::0]";
|
||||||
|
port = 9920;
|
||||||
|
ssl = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
quic = true;
|
quic = true;
|
||||||
http3 = true;
|
http3 = true;
|
||||||
|
|
||||||
|
serverAliases = [ "jellyfin.home.kempkens.io" ];
|
||||||
|
|
||||||
onlySSL = true;
|
onlySSL = true;
|
||||||
useACMEHost = "internal.kempkens.network";
|
useACMEHost = "internal.kempkens.network";
|
||||||
|
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
proxyPass = "http://127.0.0.1:8096";
|
proxyPass = "http://127.0.0.1:8096";
|
||||||
|
};
|
||||||
|
|
||||||
|
locations."/socket" = {
|
||||||
|
recommendedProxySettings = true;
|
||||||
|
proxyPass = "http://127.0.0.1:8096";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue