add dockerfile and config

This commit is contained in:
2024-11-03 14:44:12 +03:00
commit 30dccfe188
3 changed files with 38 additions and 0 deletions

14
docker/torrc Normal file
View File

@@ -0,0 +1,14 @@
#GENERAL OPTIONS
Log notice stderr
User tor
SocksPort 0
DataDirectory /var/lib/tor
HardwareAccel 1
NoExec 1
Sandbox 1
#SERVER OPTIONS
HiddenServiceDir /var/lib/tor/hidden-service/
HiddenServicePort 80 nginx:80