Name

redirect_rewrites_host_header

Synopsis

Squid normally updates a request’s Host header when using a redirector. If you use Squid as a surrogate (HTTP accelerator), you might want to disable this behavior by setting this directive to off.

Syntax

redirect_rewrites_host_header on|off

Default

redirect_rewrites_host_header on

Example

redirect_rewrites_host_header off

Related

httpd_accel_single_host

Get Squid: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.