copyparty++

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2025-08-31 21:28:31 +02:00
parent eed5c14a25
commit d0964c01a7

View File

@@ -8,16 +8,21 @@
package = pkgs.copyparty; package = pkgs.copyparty;
openFilesLimit = 8192; openFilesLimit = 8192;
settings = { settings = {
i = [ "0.0.0.0" "unix:770:copyparty:/dev/shm/party.sock" ];
p = [ 3210 3211 ]; p = [ 3210 3211 ];
no-reload = true; i = [ "0.0.0.0" "unix:770:copyparty:/dev/shm/party.sock" ];
name = "NxCopyParty";
ignored-flag = false; ignored-flag = false;
shr = "/shares"; no-reload = true;
css-browser = "https://nx2.site/copyparty/extra-browser.css";
theme = 6;
xff-hdr = "X-Forwarded-For"; # so that cpp knows the real client ip behind nginx. Must match with nginx config
rproxy = 1;
no-robots = true; no-robots = true;
rproxy = 1;
xff-hdr = "X-Forwarded-For"; # so that cpp knows the real client ip behind nginx. Must match with nginx config
shr = "/shares";
css-browser = "https://${hyper.domain}/copyparty/extra-browser.css";
theme = 6;
}; };
accounts = { accounts = {
"${hyper.user}" = { "${hyper.user}" = {