Skip to content

Instantly share code, notes, and snippets.

@JohnLonginotto
Last active June 1, 2016 15:56
Show Gist options
  • Save JohnLonginotto/35fd6eb5d1f67226e48fae455c93b626 to your computer and use it in GitHub Desktop.
Save JohnLonginotto/35fd6eb5d1f67226e48fae455c93b626 to your computer and use it in GitHub Desktop.
# Stuff you might have to change depending on your package manager the IP of your client:
# (these settings will work well for EC2 though)
Listen 10.8.0.1
User tinyproxy
Group tinyproxy
# More is better/faster:
MinSpareServers 10
MaxSpareServers 50
StartServers 25
# Stuff you wont have to change:
Port 8888
Timeout 600
MaxClients 100
DefaultErrorFile "/usr/share/tinyproxy/default.html"
StatHost "stats.com"
StatFile "/usr/share/tinyproxy/stats.html"
LogFile "/var/log/tinyproxy/tinyproxy.log"
LogLevel Notice
PidFile "/var/run/tinyproxy/tinyproxy.pid"
MaxRequestsPerChild 0
Allow 10.8.0.0/24
DisableViaHeader Yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment