layne: configure rpc-host-whitelist for transmission

This commit is contained in:
Adithya 2024-07-17 11:05:14 +05:30
parent 88a59cf4a7
commit 643ae6cce3
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C

View file

@ -3,7 +3,7 @@
caddy = { caddy = {
virtualHosts."transmission.labs.adtya.xyz" = { virtualHosts."transmission.labs.adtya.xyz" = {
extraConfig = '' 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 tls /persist/secrets/caddy/certs/transmission.crt /persist/secrets/caddy/certs/transmission.key
''; '';
}; };
@ -20,13 +20,12 @@
"--no-portmap" "--no-portmap"
"--dht" "--dht"
"--lpd" "--lpd"
"--allowed"
"127.0.0.1,10.10.10.*"
]; ];
settings = { settings = {
peer-port = 51515; peer-port = 51515;
rpc-bind-address = "10.10.10.14"; rpc-bind-address = "127.0.0.1";
rpc-port = 9091; rpc-port = 9091;
rpc-host-whitelist = "transmission.labs.adtya.xyz";
watch-dir-enabled = true; watch-dir-enabled = true;
}; };
}; };