add support for rpc-host-whitelist notation and give control of whitelist list with an env var WHITELIST

This commit is contained in:
StudioEtrange
2020-12-23 10:57:31 +01:00
committed by Ryan Kuba
parent 8096dd1573
commit 995a8be829
3 changed files with 18 additions and 2 deletions

View File

@@ -47,6 +47,8 @@
"rpc-port": 9091,
"rpc-url": "/transmission/",
"rpc-username": "",
"rpc-host-whitelist": "127.0.0.1",
"rpc-host-whitelist-enabled": false,
"rpc-whitelist": "127.0.0.1",
"rpc-whitelist-enabled": false,
"scrape-paused-torrents-enabled": true,