TS-4121: document proxy.config.http.request_via_str This closes #413. Please enter the commit message for your changes. Lines starting
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/1d860f66 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/1d860f66 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/1d860f66 Branch: refs/heads/master Commit: 1d860f66f565f19ec681057a6dbdabe45d32c42c Parents: 9b15e3d Author: Hiroaki Nakamura <hnaka...@gmail.com> Authored: Mon Jan 11 16:11:14 2016 +0900 Committer: James Peach <jpe...@apache.org> Committed: Tue Jan 12 17:16:04 2016 -0800 ---------------------------------------------------------------------- doc/admin-guide/files/records.config.en.rst | 6 ++++++ 1 file changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/1d860f66/doc/admin-guide/files/records.config.en.rst ---------------------------------------------------------------------- diff --git a/doc/admin-guide/files/records.config.en.rst b/doc/admin-guide/files/records.config.en.rst index 8d980b5..6d73e7e 100644 --- a/doc/admin-guide/files/records.config.en.rst +++ b/doc/admin-guide/files/records.config.en.rst @@ -685,6 +685,12 @@ Value Effect The ``Via`` header string can be decoded with the `Via Decoder Ring <http://trafficserver.apache.org/tools/via>`_. +.. ts:cv:: CONFIG proxy.config.http.request_via_str STRING ApacheTrafficServer/${PACKAGE_VERSION} + :reloadable: + :overridable: + + Set the server and version string in the ``Via`` request header to the origin server which is inserted when the value of :ts:cv:`proxy.config.http.insert_request_via_str` is not ``0``. Note that the actual default value is defined with ``"ApacheTrafficServer/" PACKAGE_VERSION`` in a C++ source code, and you must write such as ``ApacheTrafficServer/6.0.0`` if you really set a value with the version in :file:`records.config` file. If you want to hide the version, you can set this value to ``ApacheTrafficServer``. + .. ts:cv:: CONFIG proxy.config.http.insert_response_via_str INT 0 :reloadable: :overridable: