
204
Appendix D
Configuration Files
proxy.config.dns.url_expansions
STRING
NULL
Specifies a list of hostname extensions that
are automatically added to the hostname after
a failed lookup. For example, if you want
Traffic Server to add the hostname extension
.org
, specify
org
as the value for this
variable (Traffic Server automatically adds
the dot (.).
NOTE:
If the variable
proxy.config.
http.enable_url_expandomatic
is set
to 1 (the default value), you do not have to
add
www.
and
.com
to this list; Traffic Server
tries
www.
and
.com
automatically after
trying the values you specify.
HostDB
proxy.config.hostdb.size
INT
200000
Specifies the maximum number of entries
allowed in the host database.
proxy.config.hostdb.ttl_mode
INT
0
Specifies the host database time to live mode.
You can specify one of the following:
•
0 = obey
•
1 = ignore
•
2 = min(X,ttl)
•
3 = max(X,ttl)
proxy.config.hostdb.timeout
INT
1440
Specifies the foreground timeout, in seconds.
proxy.config.hostdb.strict_round_robin
INT
0
When disabled (0), Traffic Server always uses
the same origin server for the same client as
long as the origin server is available.
Logging Config
proxy.config.log2.logging_enabled
INT
3
Enables and disables event logging:
•
0 = logging disabled
•
1 = log errors only
•
2 = log transactions only
•
3 = full logging ( transactions)
Refer to
Chapter 12‚ Working with Log Files
.
proxy.config.log2.max_secs_per_buffer
INT
5
Specifies the maximum amount of time
before data in the buffer is flushed to disk.
proxy.config.log2.max_space_mb_for_
logs
INT
100
Specifies the amount of space allocated to the
logging directory in MB.
proxy.config.log2.max_space_mb_for_
orphan_logs
INT
25
Specifies the amount of space allocated to the
logging directory in MB if this node is acting
as a collation client.
Configuration Variable
Data Type
Default Value
Description