aboutsummaryrefslogtreecommitdiffstats
path: root/core/entrypoint-tor.sh
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-09-28 18:51:38 -0500
committerJesús <heckyel@hyperbola.info>2021-09-28 18:51:38 -0500
commiteb3b3bc5c0c73485a62fb1a55f0b40bb750e36a0 (patch)
treee95fd808ba587bad4d513cf43f4c7cf0667a4812 /core/entrypoint-tor.sh
parentce044e2a7cf1c3ebfc0b3b10f4a434f1c26a985a (diff)
downloadyt-local-docker-eb3b3bc5c0c73485a62fb1a55f0b40bb750e36a0.tar.lz
yt-local-docker-eb3b3bc5c0c73485a62fb1a55f0b40bb750e36a0.tar.xz
yt-local-docker-eb3b3bc5c0c73485a62fb1a55f0b40bb750e36a0.zip
update TOR config
Diffstat (limited to 'core/entrypoint-tor.sh')
-rw-r--r--core/entrypoint-tor.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/entrypoint-tor.sh b/core/entrypoint-tor.sh
index 0bfabfe..4834b0d 100644
--- a/core/entrypoint-tor.sh
+++ b/core/entrypoint-tor.sh
@@ -6,7 +6,8 @@ Log notice stdout
SocksPort ${TOR_PORT:-9050} # Default: Bind to localhost:9050 for local connections.
MaxCircuitDirtiness ${MAX_CIRCUIT:-2700}
CircuitBuildTimeout ${CIRCUIT_TIMEOUT:-2700}
-ExcludeExitNodes {US}
+ExitNodes ${EXIT_NODES:-{CH\}}
+ExcludeExitNodes ${EXCLUDE_EXIT_NODES:-{US\}}
StrictNodes 1
EOF
# check loop health tor