# 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)