TINYPROXY.CONF(5) Tinyproxy manual TINYPROXY.CONF(5) (NAME) tinyproxy.conf - HTTP Tinyproxy (SYNOPSIS) tinyproxy.conf (DESCRIPTION) tinyproxy(8) `/etc/tinyproxy/tinyproxy.conf` ( -c Tinyproxy ) . . Tinyproxy - . `#` () . (case-insensitive) (case-sensitive). (") . : User Tinyproxy (port-binding) `root` . (UID) . Group Tinyproxy `root` . (GID) . Port Tinyproxy . 1024 Tinyproxy `root` . Listen Tinyproxy ( `0.0.0.0`). Tinyproxy . Bind Tinyproxy (bind) . Tinyproxy . BindSame `yes` Tinyproxy IP (bind) . Timeout (inactivity) Tinyproxy . ErrorFile HTTP Tinyproxy HTML . : HTML . . DefaultErrorFile HTML . . StatHost IP ` ` (stat host) . . Tinyproxy ` ` . `StatFile` . `StatHost` `tinyproxy.stats` . StatFile HTML Tinyproxy ` ` . . Tinyproxy (hard-coded) . STATHOST tinyproxy(8) . StatFile ErrorFile DefaultErrorFile Tinyproxy (expand ). "{cause}" "{detail}" . tinyproxy(8) . LogFile Tinyproxy (debug) . . Tinyproxy syslog -- Syslog . Syslog `On` Tinyproxy `LogFile` syslog . (mutually exclusive) . LogLevel (log level) . . LogLevel Warning Warning Critical Notice . : o Critical ( ) o Error o Warning o Notice o Connect ( Info) o Info ( ) PidFile Tinyproxy (PID) . . XTinyproxy `Yes` Tinyproxy `X-Tinyproxy` IP . Upstream (upstream proxy server) . . : o upstream type host:port . o upstream type user:pass@host:port . o upstream type host:port "site_spec" `site_spec` . `type` `http` `socks4` `socks5` `none` . `site_spec` `.` ( ) ip/mask . `site_spec` . o upstream none "site_spec" `site_spec` . IP DNS . IPv6 [] . IP : o name o .name "name" o . ( '') o IP/bits network/mask o IP/mask network/mask upstream (null-route) / : `upstream http 0.0.0.0:0 ".adserver.com"` MaxClients Tinyproxy (thread) . . MaxClients Tinyproxy . Allow Deny `Allow` `Deny` Tinyproxy . `Allow` `Deny` Tinyproxy . . `Allow` `Deny` . . `Allow` `Deny` IP `127.0.0.1` `::1` IP `192.168.0.1/24` `host.example.com` `.example.com` `.com` . (name lookup) . BasicAuth " " (Basic Authentication) HTTP . . BasicAuth user password BasicAuthRealm "BasicAuth" ("realm") . "Proxy Authentication Required" http 407 ("error-response") . - "Tinyproxy" (PACKAGE_NAME) . AddHeader HTTP HTTP Tinyproxy . HTTPS Tinyproxy . AddHeader "X-My-Header" "Powered by Tinyproxy" ViaProxyName RFC 2616 `Via` HTTP . `ViaProxyname` Via . . . DisableViaHeader yes Tinyproxy `Via` . Tinyproxy (stealth mode) . RFC 2616 `Via` . `Via` ... Filter Tinyproxy URL . . POSIX (BRE) FilterType . `#` . : # cnn.com ^cnn\.com$ # cnn.com cnn.com .*\.cnn.com$ # cnn.com xcnn.comfy.org cnn\.com # cnn.com cnn\.com$ # adserver ^adserver FilterType `bre` `ere` `fnmatch` . `bre` POSIX `ere` POSIX `fnmatch` `fnmatch` `man 3p fnmatch` . `fnmatch` `*.google.com` `.google.com` . `fnmatch` . . FilterURLs `Yes` `On` URL . . URL HTTP . HTTPS . FilterExtended . `FilterType ere` . `Yes` POSIX . POSIX . FilterCaseSensitive `Yes` . . `Yes` . FilterType `bre` `ere` fnmatch . FilterDefaultDeny . `FilterDefaultDeny` `Yes` URL . `No` `Yes` . Anonymous `Anonymous` . `Anonymous` . Anonymous . . . : Anonymous "Host" Anonymous "Authorization" Anonymous "Cookie" ConnectPort CONNECT . `ConnectPort` . CONNECT ConnectPort `0` . ReversePath ReversePath (reverse proxy) . . Tinyproxy 8888 http://localhost:8888/example/ example.com . ReversePath "/example/" "http://www.example.com/" ReverseOnly Tinyproxy `Yes` . ReverseMagic `Yes` Tinyproxy . . ReverseBaseURL URL . URL HTTP (HTTP redirects) . URL ( ). . (BUGS) Tinyproxy . (SEE ALSO) tinyproxy(8) (AUTHOR) Tinyproxy . (COPYRIGHT) (C) 1998-2024 Tinyproxy . (GNU GPL) 2 . COPYING . Version 1.11.3 2026-03-09 TINYPROXY.CONF(5)