File size: 1,138 Bytes
1f287c7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# tinyproxy.conf β€” outbound allowlist for ZeroClaw HF Space
#
# Only connections to explicitly listed hosts are permitted.
# All other CONNECT/HTTP requests are denied (DenyAllHosts default).
#
# Applied by setting HTTP_PROXY=http://127.0.0.1:8888 in the environment.
# Processes that respect the proxy env vars (curl, reqwest, node fetch, Python
# requests) will be filtered. Direct TCP bypasses are not possible without
# NET_ADMIN, which HF free tier does not grant.

User nobody
Group nogroup

Port 8888
Listen 127.0.0.1
MaxClients 32
MinSpareServers 2
MaxSpareServers 8
StartServers 2
Timeout 90
LogLevel Error
Logfile "/dev/stderr"

# ── Deny everything by default ────────────────────────────────────────────────
Filter "/etc/tinyproxy/allowlist"
FilterDefaultDeny Yes
FilterURLs Off          # match by host, not full URL

# ── Content filtering β€” block everything then allow per-host ──────────────────
# (the allowlist file below is the source of truth)