update TOR config

This commit is contained in:
Jesús 2021-09-28 18:51:38 -05:00
parent ce044e2a7c
commit eb3b3bc5c0
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
2 changed files with 4 additions and 1 deletions

View File

@ -51,6 +51,8 @@ DEBUGGING_SAVE_RESPONSES=False
MAX_CIRCUIT=500 # seconds
CIRCUIT_TIMEOUT=500 # seconds
URL_CHECK=https://www.youtube.com/results?search_query=rms
EXIT_NODES={CH},{RU},{UA},{EC},{MX},{AR},{CL},{CO}
EXCLUDE_EXIT_NODES={US},{AU},{CA},{NZ},{GB},{FR},{DE},{UK}
#
# Gunicorn options

View File

@ -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