layne: configure rpc-host-whitelist for transmission
This commit is contained in:
parent
88a59cf4a7
commit
643ae6cce3
1 changed files with 3 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
|||
caddy = {
|
||||
virtualHosts."transmission.labs.adtya.xyz" = {
|
||||
extraConfig = ''
|
||||
reverse_proxy 10.10.10.14:9091
|
||||
reverse_proxy 127.0.0.1:9091
|
||||
tls /persist/secrets/caddy/certs/transmission.crt /persist/secrets/caddy/certs/transmission.key
|
||||
'';
|
||||
};
|
||||
|
@ -20,13 +20,12 @@
|
|||
"--no-portmap"
|
||||
"--dht"
|
||||
"--lpd"
|
||||
"--allowed"
|
||||
"127.0.0.1,10.10.10.*"
|
||||
];
|
||||
settings = {
|
||||
peer-port = 51515;
|
||||
rpc-bind-address = "10.10.10.14";
|
||||
rpc-bind-address = "127.0.0.1";
|
||||
rpc-port = 9091;
|
||||
rpc-host-whitelist = "transmission.labs.adtya.xyz";
|
||||
watch-dir-enabled = true;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue