Chapter 5
3. Edit the following variables:
Variable
proxy.config.reverse_proxy.enabled
proxy.config.url_remap.pristine_host_hdr
proxy.config.url_remap.remap_required
proxy.config.header.parse.no_host_url_redirect
4. Save and close the
5. Run the following command to apply the configuration changes.
traffic_line -x
FTP Reverse Proxy
In FTP reverse proxy mode, Traffic Server receives FTP requests from FTP clients on behalf of an FTP server
(the FTP server's hostname resolves to Traffic Server's IP address).
Figure 5-2. illustrates how an FTP request from an FTP client is processed by Traffic Server running in FTP
reverse proxy mode.
FTP client
1
An FTP client sends a request to an FTP Server via an FTP connection.
Because the FTP server's hostname resolves to Traffic Server's IP address,
Traffic Server receives the FTP request.
2
If the request is a cache hit and the content is fresh, Traffic Server sends the
requested document to the FTP client via FTP .
If the request is a cache miss or is stale, Traffic Server communicates with the
3
FTP Server via FTP and obtains the requested document. Traffic Server then
sends the document to the FTP client via an FTP connection and saves a copy
in its cache.
Figure 5-2. Traffic Server processes an FTP request in FTP reverse proxy mode
file.
records.config
1
FTP request via FTP
Traffic
Server
2
FTP document served via FTP
Reverse Proxy and HTTP Redirects
Description
Set this variable to 1 to enable HTTP reverse proxy
mode.
Set this variable to 0 (zero) to disable HTTP reverse
proxy mode.
Set this variable to 1 to retain the client host header in
the request.
Set this variable to 0 (zero) if you want Traffic Server
to translate the client host header.
Set this variable to 1 if you want Traffic Server to serve
requests only from the origin servers listed in the
mapping rules of the remap.config file.
Set this variable to 0 (zero) if you want Traffic Server
to serve requests from all origin servers.
Enter the URL to which to redirect requests with no
host headers.
3
FTP connection
FTP server
39
Need help?
Do you have a question about the P4535A - Web Cache Server Appliance and is the answer not in the manual?
Questions and answers