Fix transfer-sh deployment
This commit is contained in:
parent
214b5a62c4
commit
2716a5597e
|
@ -1,13 +1,15 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
networking.firewall.allowedTCPPorts = [ ];
|
||||||
services.transfer-sh = {
|
services.transfer-sh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
settings = {
|
||||||
address = "192.168.99.201";
|
LISTENER = "192.168.99.201:6080";
|
||||||
HTTP_AUTH_HTPASSWD = "/run/secrets/services/nginx/transfersh.htpasswd";
|
HTTP_AUTH_HTPASSWD = "/run/secrets/services/nginx/transfersh.htpasswd";
|
||||||
TEMP_PATH = "/mnt/data/transfer-sh/temp";
|
TEMP_PATH = "/mnt/data/transfer-sh/temp";
|
||||||
BASEDIR = "/mnt/data/transfer-sh/store";
|
BASEDIR = "/mnt/data/transfer-sh/store";
|
||||||
EMAIL_CONTACT = "abuse@lewd.wtf";
|
EMAIL_CONTACT = "abuse@lewd.wtf";
|
||||||
PURGE_DAYS = "90";
|
PURGE_DAYS = "90";
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue