summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--doc/tinyproxy.conf9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/tinyproxy.conf b/doc/tinyproxy.conf
index 9eacb95..6bc9729 100644
--- a/doc/tinyproxy.conf
+++ b/doc/tinyproxy.conf
@@ -166,11 +166,12 @@ Allow 127.0.0.1
Allow 192.168.1.0/25
#
-# Control whether the HTTP Via header should be included in requests or
-# responses. The RFC says it should be there, but it could be a security
-# concern. The default is off.
+# The "Via" header is required by the HTTP RFC, but using the real host name
+# is a security concern. If the following directive is enabled, the string
+# supplied will be used as the host name in the Via header; otherwise, the
+# server's host name will be used.
#
-#ViaHeader On
+ViaProxyName "tinyproxy"
#
# The location of the filter file.