Name

httpd_accel_host

Synopsis

This directive enables HTTP server acceleration (see Chapter 15) and HTTP interception (see Chapter 9). When Squid is configured for server acceleration, this directive specifies the hostname or IP address of the backend server. When used in an interception configuration, you should probably use the keyword virtual here.

When this directive is set, Squid disables ICP and rejects proxy-HTTP requests unless you also enable httpd_accel_with_proxy.

Syntax

httpd_accel_host hostname|virtual

Default

No default

Example

httpd_accel_host virtual

Related

httpd_accel_port, httpd_accel_single_host, httpd_accel_with_proxy, httpd_accel_uses_host_header, emulate_httpd_log

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.