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