🗃️ Update codebase 🗃️
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:
casjay
2025-11-21 07:49:45 -05:00
parent b65539178c
commit a69f03b0a4
2 changed files with 22 additions and 2 deletions

View File

@@ -33,6 +33,8 @@ exitCode=0
# Predefined actions
if [ -d "/tmp" ]; then rm -Rf "/tmp"/*; fi
if [ -d "$HOME/.cache" ]; then rm -Rf "$HOME/.cache"; fi
rm -Rf "/etc/privoxy"/*.new
rm -Rf "/etc/privoxy"/*/*.new
# - - - - - - - - - - - - - - - - - - - - - - - - -
# Main script

View File

@@ -1,5 +1,3 @@
# Route all traffic through Tor with remote DNS
forward-socks5t / 127.0.0.1:9050 .
# Listen on all interfaces
listen-address 0.0.0.0:8118
# limits
@@ -11,3 +9,23 @@ enable-remote-toggle 0
enable-edit-actions 0
accept-intercepted-requests 0
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