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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.