summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/man5/tinyproxy.conf.txt.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/man5/tinyproxy.conf.txt.in b/docs/man5/tinyproxy.conf.txt.in
index 4ce494b..2364944 100644
--- a/docs/man5/tinyproxy.conf.txt.in
+++ b/docs/man5/tinyproxy.conf.txt.in
@@ -219,6 +219,17 @@ The possible keywords and their descriptions are as follows:
like `host.example.com` or a domain name like `.example.com` or
even a top level domain name like `.com`.
+*AddHeader*::
+
+ Configure one or more HTTP request headers to be added to outgoing
+ HTTP requests that Tinyproxy makes. Note that this option will not
+ work for HTTPS traffic, as Tinyproxy has no control over what
+ headers are exchanged.
+ +
+----
+AddHeader "X-My-Header" "Powered by Tinyproxy"
+----
+
*ViaProxyName*::
RFC 2616 requires proxies to add a `Via` header to the HTTP