-
-
Save brett-schneider/fe4f9df979cb5ec0b50e67d1eb790a1f to your computer and use it in GitHub Desktop.
testing-tinyproxy-conf-examples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## forwardproxy.conf -- tinyproxy daemon configuration file | |
User nobody | |
Group nogroup | |
Port 8888 | |
Listen 10.0.2.35 | |
BindSame yes | |
Timeout 600 | |
DefaultErrorFile "/usr/share/tinyproxy/default.html" | |
StatFile "/usr/share/tinyproxy/stats.html" | |
Logfile "/var/log/tinyproxy/tinyproxy.log" | |
#Syslog On | |
LogLevel Info | |
PidFile "/var/run/tinyproxy/tinyproxy.pid" | |
# Comment to use only the forward proxy | |
# Uncomment to forward the traffic to the reverse proxy | |
#Upstream 10.0.2.36:8888 | |
MaxClients 100 | |
MinSpareServers 2 | |
MaxSpareServers 5 | |
StartServers 2 | |
MaxRequestsPerChild 0 | |
Allow 127.0.0.1 | |
Allow 10.0.2.0/24 | |
ViaProxyName "tinyproxy1" | |
ConnectPort 8888 | |
ConnectPort 80 | |
# The following two ports are used by SSL. | |
ConnectPort 443 | |
ConnectPort 563 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## tinyproxy.conf -- tinyproxy daemon configuration file | |
User nobody | |
Group nogroup | |
Port 8888 | |
Listen 10.0.2.36 | |
BindSame yes | |
Timeout 600 | |
StatFile "/usr/share/tinyproxy/stats.html" | |
Logfile "/var/log/tinyproxy/tinyproxy.log" | |
#Syslog On | |
LogLevel Info | |
PidFile "/var/run/tinyproxy/tinyproxy.pid" | |
MaxClients 5 | |
MinSpareServers 2 | |
MaxSpareServers 5 | |
StartServers 2 | |
MaxRequestsPerChild 0 | |
Allow 127.0.0.1 | |
Allow 10.0.2.0/24 | |
Allow 10.0.2.35 | |
ViaProxyName "tinyproxy2" | |
ConnectPort 8888 | |
ConnectPort 80 | |
# The following two ports are used by SSL. | |
ConnectPort 443 | |
ConnectPort 563 | |
ReversePath "/test/" "http://10.0.2.34:80/" | |
#ReversePath "/" "http://10.0.2.34:80/" | |
ReversePath "/wired/" "http://www.wired.com/" | |
ReverseOnly Yes | |
ReverseMagic Yes | |
ReverseBaseURL "http://10.0.2.36:8888/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment