HTTP engine

Configuration Variable Data Type Description
proxy.config.http.server_port INT

Default: 8080

The port that Content Gateway uses when acting as a proxy server for web traffic or when serving web traffic transparently.

proxy.config.http.server_port_ attr STRING

Default: X

Specifies the server port options. You can specify one of the following:

C=SERVER_PORT_COMPRESSED

X=SERVER_PORT_DEFAULT

T=SERVER_PORT_BLIND_TUNNEL

proxy.config.http.server_other_ ports STRING

Default: NULL

Specifies the ports other than the port specified by the variable proxy.config. http.server_port to bind for incoming HTTP requests.

proxy.config.http.ssl_ports STRING

Default: 443 563 8081 8071 9443 9444

8443 9447

The ports used for tunneling.This is a space-separated list that can also include ranges of ports, e.g. 1-65535.

Content Gateway allows tunnels only to the specified ports.

proxy.config.http.insert_ request_via_str INT

Default: 1

  • 0 = no extra information is added to the string.
  • 1 = all extra information is added.
  • 2 = some extra information is added.
proxy.config.http.insert_ response_via_str INT

Default: 1

  • 0 = no extra information is added to the string.
  • 1 = all extra information is added.
  • 2 = some extra information is added.
proxy.config.http.enable_url_ expandomatic INT

Default: 1

Enables (1) or disables (0) .com domain expansion, which configures Content Gateway to attempt to resolve unqualified hostnames by redirecting them to the expanded address, prepended with www. and appended with .com; for example, if a client makes a request to host, Content Gateway redirects the request to www. host.com.

proxy.config.http.no_dns_just_ forward_to_parent INT

Default: 0

When enabled (1), and if HTTP parent caching is enabled, Content Gateway does no DNS lookups on request hostnames.

proxy.config.http.uncacheable_ requests_bypass_parent INT

Default: 0

When enabled (1), Content Gateway bypasses the parent proxy for a request that is not cacheable.

proxy.config.http.keep_alive_ enabled INT

Default: 1

Enables (1) or disables (0) the use of keep- alive connections to either origin servers or clients.

proxy.config.http.chunking_ enabled INT

Default: 1

Specifies whether Content Gateway will generate a chunked response:

  • 0 = Never
  • 1 = Always
proxy.config.http.send_http11_ requests INT

Default: 3

Configures Content Gateway to use HTTP Version 1.1 when communicating with origin servers. You can specify one of the following values:

  • 0 = Never use HTTP 1.1 when communicating with origin servers.
  • 1 = Always use HTTP 1.1 when communicating with origin servers.
  • 2 = Use HTTP 1.1 if the origin server has previously used HTTP 1.1.
  • 3 = Use HTTP 1.1 if the client request is HTTP 1.1 and the origin server has previously used HTTP 1.1.
Note: If HTTP 1.1 is used, Content Gateway can use keep-alive connections with pipelining to origin servers. If HTTP 0.9 is used, Content Gateway does not use keep-alive connections to origin servers. If HTTP 1.0 is used, a Content Gateway can use keep-alive connections without pipelining to origin servers.
proxy.config.http.send_http11_ asfirstrequest INT

Default: 1

When enabled (1), specifies that Content Gateway send HTTP 1.1 in the first request to server. Otherwise, the default behavior is specified by proxy.config. http.

send_http11_requests.

proxy.config.http.share_server_ sessions INT

Default: 1

Enables (1) or disables (0) the re-use of server sessions.

Note: When IP spoofing is enabled, Content Gateway automatically disables this variable.
proxy.config.http.share_server_ sessions_max INT

Default: 2500

The maximum number of server sessions that can be reused.

proxy.config.http.ftp_enabled INT

Default: 1

Enables (1) or disables (0) Content Gateway from serving FTP requests sent via HTTP.

proxy.config.http.record_ heartbeat INT

Default: 0

Enables (1) or disables (0) content_cop heartbeat logging.

proxy.config.http.large_file_ support INT

Default: 1

When enabled (1), Content Gateway supports downloading of files larger than 2 GB.