different plex datadir, send data over http
This commit is contained in:
parent
5098be7bb3
commit
ae92868aa0
@ -5,6 +5,7 @@ with import ./network.nix;
|
|||||||
services.plex = {
|
services.plex = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.unstable.plex;
|
package = pkgs.unstable.plex;
|
||||||
|
dataDir = "/plex";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
@ -71,7 +72,7 @@ with import ./network.nix;
|
|||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
'';
|
'';
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "https://localhost:32400";
|
proxyPass = "http://localhost:32400";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user