triflix commited on
Commit
b0d2d00
·
verified ·
1 Parent(s): 4ff48b1

Update tinyproxy.conf

Browse files
Files changed (1) hide show
  1. tinyproxy.conf +3 -17
tinyproxy.conf CHANGED
@@ -1,25 +1,11 @@
1
- # Run as the root user since we are inside a Docker container
2
  User root
3
  Group root
4
-
5
- # Port to listen on (Hugging Face maps internal 8888 -> public 7860)
6
  Port 7860
7
-
8
- # Timeout for waiting for data
9
  Timeout 600
10
-
11
- # Log to /tmp so we have write permissions
12
  Logfile "/tmp/tinyproxy.log"
13
- LogLevel Connect
14
-
15
- # PID file in /tmp to avoid permission denied errors
16
  PidFile "/tmp/tinyproxy.pid"
17
-
18
- # Allow ALL connections for this test (Educational Use Only!)
19
  Allow 0.0.0.0/0
20
-
21
- # Bind to all interfaces
22
  Bind 0.0.0.0
23
-
24
- # The port the client is connecting to (needed for HF's reverse proxy)
25
- ViaProxyName "tinyproxy"
 
 
1
  User root
2
  Group root
 
 
3
  Port 7860
 
 
4
  Timeout 600
 
 
5
  Logfile "/tmp/tinyproxy.log"
6
+ LogLevel Info
 
 
7
  PidFile "/tmp/tinyproxy.pid"
8
+ MaxClients 100
 
9
  Allow 0.0.0.0/0
10
+ ViaProxyName "tinyproxy"
 
11
  Bind 0.0.0.0