mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
feat(tautulli): lan access
This commit is contained in:
parent
c009a78e33
commit
1f1ad85c46
3 changed files with 24 additions and 6 deletions
|
|
@ -1,9 +1,9 @@
|
|||
_: {
|
||||
{config, ...}: {
|
||||
services = {
|
||||
plex = {
|
||||
enable = true;
|
||||
};
|
||||
nginx.virtualHosts."plex.gensokyo.zone" = {
|
||||
nginx.virtualHosts = let
|
||||
extraConfig = ''
|
||||
# Some players don't reopen a socket and playback stops totally instead of resuming after an extended pause
|
||||
send_timeout 100m;
|
||||
|
|
@ -24,7 +24,15 @@ _: {
|
|||
proxy_redirect off;
|
||||
proxy_buffering off;
|
||||
'';
|
||||
locations."/".proxyPass = "http://localhost:32400";
|
||||
in {
|
||||
"plex.${config.networking.domain}" = {
|
||||
locations."/".proxyPass = "http://localhost:32400";
|
||||
inherit extraConfig;
|
||||
};
|
||||
"plex.local.${config.networking.domain}" = {
|
||||
locations."/".proxyPass = "http://localhost:32400";
|
||||
inherit extraConfig;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue