redirect_rewrites_host_header

redirect_rewrites_host_header

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



    Appendix A. Config File Reference