different plex datadir, send data over http

This commit is contained in:
Giulio De Pasquale 2021-09-25 18:23:47 +02:00
parent 5098be7bb3
commit ae92868aa0

View File

@ -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";
};
};
};