From ae92868aa00a9964061ee0c67c6bf570a293ce4a Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Sat, 25 Sep 2021 18:23:47 +0200 Subject: [PATCH] different plex datadir, send data over http --- hosts/architect/plex.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/architect/plex.nix b/hosts/architect/plex.nix index d4e0356..f3f02ab 100644 --- a/hosts/architect/plex.nix +++ b/hosts/architect/plex.nix @@ -5,6 +5,7 @@ with import ./network.nix; services.plex = { enable = true; package = pkgs.unstable.plex; + dataDir = "/plex"; }; services.nginx = { @@ -71,7 +72,7 @@ with import ./network.nix; proxy_buffering off; ''; locations."/" = { - proxyPass = "https://localhost:32400"; + proxyPass = "http://localhost:32400"; }; }; };