docs: document Allow and Deny in tinyproxy.conf(5)
This commit is contained in:
parent
42b072b863
commit
8c31287805
@ -197,6 +197,22 @@ The possible keywords and their descriptions are as follows:
|
||||
In that case, setting `MaxRequestsPerChild` to a value of e.g.
|
||||
1000, or 10000 can be useful.
|
||||
|
||||
*Allow*::
|
||||
*Deny*::
|
||||
|
||||
The `Allow` and `Deny` options provide a means to customize
|
||||
which clients are allowed to access Tinyproxy. `Allow` and `Deny`
|
||||
lines can be specified multiple times to build the access control
|
||||
list for Tinyproxy. The order in the config file is important.
|
||||
If there are no `Access` or `Deny` lines, then all clients are
|
||||
allowed. Otherwise, the default action is to deny access.
|
||||
The argument to `Access` or `Deny` can ba a single IP address
|
||||
of a client host, like `127.0.0.1`, an IP address range, like
|
||||
`192.168.0.1/24` or a string that will be matched against the
|
||||
end of the client host name, i.e, this can be a full host name
|
||||
like `host.example.com` or a domain name like `.example.com` or
|
||||
even a top level domain name like `.com`.
|
||||
|
||||
|
||||
BUGS
|
||||
----
|
||||
|
Loading…
Reference in New Issue
Block a user