diff options
Diffstat (limited to 'core/entrypoint.sh')
-rw-r--r-- | core/entrypoint.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/core/entrypoint.sh b/core/entrypoint.sh index 859f6a0..1c15c2c 100644 --- a/core/entrypoint.sh +++ b/core/entrypoint.sh @@ -78,11 +78,15 @@ EOF fi if [ "$ROUTE_TOR" = 1 ] || [ "$ROUTE_TOR" = 2 ]; then - cat > /etc/torrc <<- EOF + cat > /etc/tor/torrc <<- EOF Log notice stdout SocksPort 9050 # Default: Bind to localhost:9050 for local connections. +MaxCircuitDirtiness 300 +CircuitBuildTimeout 300 +ExcludeExitNodes {US} +StrictNodes 1 EOF - tor -f /etc/torrc --runasdaemon 1 + tor -f /etc/tor/torrc --runasdaemon 1 fi exec /usr/bin/python3 /srv/app/server.py |