You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2015/08/25 22:34:03 UTC

[2/2] trafficserver git commit: [TS-3820] Docs for the redirection settings.

[TS-3820] Docs for the redirection settings.

(cherry picked from commit 9ee6274f3539a7fccd1eae6965eba70d33173498)


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/a95b721b
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/a95b721b
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/a95b721b

Branch: refs/heads/6.0.x
Commit: a95b721b70afc14db078ee1ba17a47560354ee4e
Parents: a1c5b9b
Author: Sudheer Vinukonda <su...@yahoo-inc.com>
Authored: Wed Aug 19 00:17:43 2015 +0000
Committer: Bryan Call <bc...@apache.org>
Committed: Tue Aug 25 13:33:11 2015 -0700

----------------------------------------------------------------------
 .../configuration/records.config.en.rst          | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a95b721b/doc/reference/configuration/records.config.en.rst
----------------------------------------------------------------------
diff --git a/doc/reference/configuration/records.config.en.rst b/doc/reference/configuration/records.config.en.rst
index 257e070..5070589 100644
--- a/doc/reference/configuration/records.config.en.rst
+++ b/doc/reference/configuration/records.config.en.rst
@@ -1029,6 +1029,25 @@ The default value of ``0`` specifies that there is no timeout.
    The proportion of total document size already transferred when a client aborts at which the proxy continues fetching the document
    from the origin server to get it into the cache (a **background fill**).
 
+HTTP Redirection
+================
+
+.. ts:cv:: CONFIG proxy.config.http.redirection_enabled INT 0
+
+   This setting indicates whether Trafficserver does a redirect follow location on receiving a 3XX Redirect response from the Origin
+   server. The redirection attempt is transparent to the client and the client is served the final response from the redirected-to
+   location.
+
+.. ts:cv:: CONFIG proxy.config.http.number_of_redirections INT 1
+
+   This setting determines the maximum number of times Trafficserver does a redirect follow location on receiving a 3XX Redirect response
+   for a given client request.
+
+.. ts:cv:: CONFIG proxy.config.http.redirect_host_no_port INT 1
+
+   This setting enables Trafficserver to not include the port in the Host header in the redirect follow request for default/standard ports
+   (e.g. 80 for HTTP and 443 for HTTPS). Note that the port is still included in the Host header if it's non-default.
+
 Origin Server Connect Attempts
 ==============================