triflix commited on
Commit
3996ff7
·
verified ·
1 Parent(s): f2eb448

Create tinyproxy.conf

Browse files
Files changed (1) hide show
  1. 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"