nginx plex fix
This commit is contained in:
parent
384d1f4dbb
commit
59495810ea
@ -14,6 +14,7 @@ in
|
||||
plex = lib.mkIf cfg.enable {
|
||||
enable = true;
|
||||
group = "piracy";
|
||||
openFirewall = true;
|
||||
};
|
||||
nginx = lib.mkIf cfg.enableProxy {
|
||||
appendHttpConfig = ''
|
||||
@ -26,7 +27,7 @@ in
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
http2 = true;
|
||||
serverAliases = [ "flix.rotehaare.art" ];
|
||||
serverAliases = [ "plex.rotehaare.art" ];
|
||||
extraConfig = ''
|
||||
#Some players don't reopen a socket and playback stops totally instead of resuming after an extended pause
|
||||
send_timeout 100m;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user