Skip to content

trafficserver

Whether to enable Apache Traffic Server.

Type: boolean

Default:

false

Example:

true

Declared by:

Apache Traffic Server package

Type: package

Default:

pkgs.trafficserver10 or pkgs.trafficserver

Declared by:

Caching rules that overrule the origin’s caching policy.

Consult the upstream documentation for more details.

Type: strings concatenated with “\n”

Default:

""

Example:

"dest_domain=example.com suffix=js action=never-cache"

Declared by:

Partition the cache according to origin server or domain

Consult the upstream documentation for more details.

Type: strings concatenated with “\n”

Default:

""

Example:

"domain=example.com volume=1"

Declared by:

Control client access to Traffic Server and Traffic Server connections to upstream servers.

Consult the upstream documentation for more details.

Type: null or YAML 1.1 value

Default: upstream defaults

Example:

{
ip_allow = [{
apply = "in";
ip_addrs = "127.0.0.1";
action = "allow";
methods = "ALL";
}];
}

Declared by:

Configure logs.

Consult the upstream documentation for more details.

Type: null or YAML 1.1 value

Default: upstream defaults

Example:

{ }

Declared by:

Identify the parent proxies used in an cache hierarchy.

Consult the upstream documentation for more details.

Type: strings concatenated with “\n”

Default:

""

Example:

''
dest_domain=. method=get parent="p1.example:8080; p2.example:8080" round_robin=true
''

Declared by:

Controls run-time loadable plugins available to Traffic Server, as well as their configuration.

Consult the upstream documentation for more details.

Type: list of (submodule)

Default:

[ ]

Declared by:

arguments to pass to the plugin

Type: string

Default:

""

Example:

"--header=ATS-My-Debug"

Declared by:

Path to plugin. The path can either be absolute, or relative to the plugin directory.

Type: string

Example:

"xdebug.so"

Declared by:

List of configurable variables used by Traffic Server.

Consult the upstream documentation for Traffic Server 10 or Traffic Server 9.

When defining the values for the option x.y, a nested attribute should be used. Using a flat attribute set with the attribute name x.y will result in an error.

If options for both x.y and x.y.z needs to be set, you can set x.y._ as x.y on Traffic Server 9. On Traffic Server 10, the module writes settings under proxy.config and proxy.local to records.yaml without those prefixes. Consult the upstream upgrade guide for renamed and removed settings.

Type: Traffic Server records value

Default:

{ }

Example:

{
proxy = {
config = {
proxy_name = "my_server";
};
};
}

Declared by:

URL remapping rules used by Traffic Server.

Consult the upstream documentation for more details.

Type: strings concatenated with “\n”

Default:

""

Example:

"map http://from.example http://origin.example"

Declared by:

File layout used by Traffic Server

Type: unspecified value (read only)

Declared by:

Configure aspects of TLS connection handling for both inbound and outbound connections.

Consult the upstream documentation for more details.

Type: null or YAML 1.1 value

Default:

null

Example:

{
sni = [{
fqdn = "no-http2.example.com";
https = "off";
}];
}

Declared by:

Specify the DNS server that Traffic Server should use under specific conditions.

Consult the upstream documentation for more details.

Type: strings concatenated with “\n”

Default:

""

Example:

''
dest_domain=internal.corp.example named="255.255.255.255:212 255.255.255.254" def_domain=corp.example search_list="corp.example corp1.example"
dest_domain=!internal.corp.example named=255.255.255.253
''

Declared by:

Configure SSL server certificates to terminate the SSL sessions.

Consult the upstream documentation for more details.

Type: strings concatenated with “\n”

Default:

""

Example:

"dest_ip=* ssl_cert_name=default.pem"

Declared by:

List all the storage that make up the Traffic Server cache.

Consult the upstream documentation for more details.

Type: strings concatenated with “\n”

Default:

"${config.services.traffic-server.runroot.cachedir} 256M"

Example:

"/dev/disk/by-id/XXXXX volume=1"

Declared by:

Specify the next hop proxies used in an cache hierarchy and the algorithms used to select the next proxy.

Consult the upstream documentation for more details.

Type: null or YAML 1.1 value

Default:

null

Declared by:

Manage cache space more efficiently and restrict disk usage by creating cache volumes of different sizes.

Consult the upstream documentation for more details.

Type: null or YAML 1.1 value

Default:

""

Example:

"volume=1 scheme=http size=20%"

Declared by: