2012-05-31 02:24:49 +02:00
|
|
|
User tinyproxy
|
|
|
|
Group tinyproxy
|
|
|
|
Port 8082
|
|
|
|
Timeout 60
|
|
|
|
DefaultErrorFile "/usr/share/tinyproxy/default.html"
|
|
|
|
|
|
|
|
#StatHost "tinyproxy.stats"
|
|
|
|
StatFile "/usr/share/tinyproxy/stats.html"
|
|
|
|
Syslog On
|
|
|
|
LogLevel Notice
|
2015-11-11 05:39:30 +01:00
|
|
|
PidFile "/var/run/tinyproxy-updates/tinyproxy.pid"
|
2012-05-31 02:24:49 +02:00
|
|
|
|
|
|
|
MaxClients 50
|
|
|
|
MinSpareServers 2
|
|
|
|
MaxSpareServers 10
|
|
|
|
StartServers 2
|
|
|
|
MaxRequestsPerChild 0
|
2015-10-05 06:24:30 +02:00
|
|
|
DisableViaHeader Yes
|
2012-05-31 02:24:49 +02:00
|
|
|
|
|
|
|
Allow 127.0.0.1
|
|
|
|
Allow 10.137.0.0/16
|
|
|
|
|
|
|
|
ConnectPort 443
|
2020-08-04 12:24:09 +02:00
|
|
|
# Gentoo uses Rsync for its main repository
|
|
|
|
ConnectPort 873
|
2012-05-31 02:24:49 +02:00
|
|
|
|
2015-12-04 14:57:07 +01:00
|
|
|
# Explicitly block connections to the proxy IP, to return an error in such
|
|
|
|
# case. This error page contains a magic string which is used in Whonix to
|
|
|
|
# detect whether proxy is torified or not.
|
|
|
|
# See https://github.com/qubesos/qubes-issues/issues/1482 for details
|
|
|
|
Filter "/etc/tinyproxy/updates-blacklist"
|