mirror of
https://github.com/casjaysdevdocker/tor
synced 2025-11-24 11:47:03 -05:00
🗃️ Update codebase 🗃️
All checks were successful
release-tag / release-image (push) Successful in 7m33s
All checks were successful
release-tag / release-image (push) Successful in 7m33s
rootfs/root/docker/setup/07-cleanup.sh rootfs/tmp/etc/privoxy/config
This commit is contained in:
@@ -33,6 +33,8 @@ exitCode=0
|
|||||||
# Predefined actions
|
# Predefined actions
|
||||||
if [ -d "/tmp" ]; then rm -Rf "/tmp"/*; fi
|
if [ -d "/tmp" ]; then rm -Rf "/tmp"/*; fi
|
||||||
if [ -d "$HOME/.cache" ]; then rm -Rf "$HOME/.cache"; fi
|
if [ -d "$HOME/.cache" ]; then rm -Rf "$HOME/.cache"; fi
|
||||||
|
rm -Rf "/etc/privoxy"/*.new
|
||||||
|
rm -Rf "/etc/privoxy"/*/*.new
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# Main script
|
# Main script
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
# Route all traffic through Tor with remote DNS
|
|
||||||
forward-socks5t / 127.0.0.1:9050 .
|
|
||||||
# Listen on all interfaces
|
# Listen on all interfaces
|
||||||
listen-address 0.0.0.0:8118
|
listen-address 0.0.0.0:8118
|
||||||
# limits
|
# limits
|
||||||
@@ -11,3 +9,23 @@ enable-remote-toggle 0
|
|||||||
enable-edit-actions 0
|
enable-edit-actions 0
|
||||||
accept-intercepted-requests 0
|
accept-intercepted-requests 0
|
||||||
trust-x-forwarded-for 1
|
trust-x-forwarded-for 1
|
||||||
|
# Directories
|
||||||
|
confdir /config/privoxy
|
||||||
|
templdir /config/privoxy/templates
|
||||||
|
filterfile /config/privoxy/default.filter
|
||||||
|
actionfile /config/privoxy/default.action
|
||||||
|
# Log settings
|
||||||
|
logdir /data/logs/privoxy
|
||||||
|
debug 1
|
||||||
|
logfile /data/logs/privoxy/privoxy.log
|
||||||
|
debug-log /data/logs/privoxy/debug.log
|
||||||
|
logformat %d %t %a %A %p %P %C %c %m %U %H %s %b %B %T %D %L
|
||||||
|
# Route all traffic through Tor with remote DNS
|
||||||
|
forward-socks5 / 127.0.0.1:9050 .
|
||||||
|
# Disable caching
|
||||||
|
enable-proxy-cache 0
|
||||||
|
# Disable filtering of images and CSS
|
||||||
|
filter-images 0
|
||||||
|
filter-css 0
|
||||||
|
# Disable header modifications
|
||||||
|
hide-user-agent 0
|
||||||
|
|||||||
Reference in New Issue
Block a user