Create tinyproxy.conf
Browse files- tinyproxy.conf +18 -0
tinyproxy.conf
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
User tinyproxy
|
| 2 |
+
Group tinyproxy
|
| 3 |
+
# This is the public port Hugging Face exposes (7860)
|
| 4 |
+
Port 7860
|
| 5 |
+
Timeout 600
|
| 6 |
+
DefaultErrorFile "/usr/share/tinyproxy/default.html"
|
| 7 |
+
StatFile "/usr/share/tinyproxy/stats.html"
|
| 8 |
+
Logfile "/tmp/tinyproxy.log"
|
| 9 |
+
LogLevel Info
|
| 10 |
+
PidFile "/run/tinyproxy/tinyproxy.pid"
|
| 11 |
+
MaxClients 100
|
| 12 |
+
MinSpareServers 5
|
| 13 |
+
MaxSpareServers 20
|
| 14 |
+
StartServers 10
|
| 15 |
+
MaxRequestsPerChild 0
|
| 16 |
+
# THIS IS KEY: Allows connections from ANY IP address (for testing)
|
| 17 |
+
Allow 0.0.0.0/0
|
| 18 |
+
ViaProxyName "tinyproxy"
|