table of contents
TINYPROXY(8) | Tinyproxy manual | TINYPROXY(8) |
NAME¶
tinyproxy - A light-weight HTTP proxy daemon
SYNOPSIS¶
tinyproxy [-vldch]
DESCRIPTION¶
tinyproxy is a light-weight HTTP proxy daemon designed to consume a minimum amount of system resources. It listens on a given TCP port and handles HTTP proxy requests. Designed from the ground up to be fast and yet small, it is an ideal solution for use cases such as embedded deployments where a full featured HTTP proxy is required, but the system resources for a larger proxy are unavailable.
OPTIONS¶
tinyproxy accepts the following options:
-c <config-file>
-d
-h
-l
-v
SIGNALS¶
In addition to command-line options, there are also several signals that can be sent to tinyproxy while it is running to generate debugging information and to force certain events.
SIGHUP
TEMPLATE FILES¶
There are two occasions when Tinyproxy delivers HTML pages to the client on it’s own right:
The layout of both error pages and the statistics page can be controlled via configurable HTML template files that are plain HTML files that additionally understand a few template variables.
TEMPLATE VARIABLES¶
There are several standard HTML variables that are available in every template file:
request
cause
clientip
clienthost
version
package
date
In addition, almost all templates support:
detail
When Tinyproxy finds a variable name enclosed in braces, e.g. "{request}", then this is replaced by the value of the corresponding variable before delivery of the page.
STATHOST¶
Tinyproxy returns a HTML page with connection statistics when it receives a HTTP request for a certain host — the stathost. The stathost name defaults to tinyproxy.stats and can be changed at runtime to any name or IP address with the configuration variable StatHost.
The stat file template can be changed at runtime through the configuration variable StatFile.
FILES¶
/etc/tinyproxy/tinyproxy.conf, /var/run/tinyproxy/tinyproxy.pid, /var/log/tinyproxy/tinyproxy.log
BUGS¶
To report bugs in Tinyproxy, please visit <https://www.banu.com/tinyproxy/>.
SEE ALSO¶
AUTHOR¶
Written by the Tinyproxy project team.
COPYRIGHT¶
Copyright (c) 1998-2000 Steven Young; Copyright (c) 2000-2001 Robert James Kaes; Copyright (c) 2009-2010 Mukund Sivaraman; Copyright (c) 2009-2010 Michael Adam.
This program is distributed under the terms of the GNU General Public License version 2 or above. See the COPYING file for additional information.
11/15/2017 | Version 1.8.4 |