Configuring Traffic Server¶
Traffic Server provides several options for configuring the system.
Configure Traffic Server Using Traffic Line¶
Traffic Line enables you to quickly and easily change your Traffic Server configuration via command-line interface.
View Configuration Options in Traffic Line¶
To view a configuration setting, enter the following command:
traffic_line -r var
where var is the variable associated with the configuration option. For a list of variables, refer to Configuration Variables.
Change Configuration Options in Traffic Line¶
To change the value of a configuration setting, enter the following command:
traffic_line -s var -v value
where var is the variable associated with the configuration option and value is the value you want to use. For a list of the variables, see Configuration Variables.
Configure Traffic Server Using Configuration Files¶
As an alternative to using Traffic Line or Traffic Shell, you can change Traffic Server configuration options by manually editing specific variables in the records.config file. After modifying the records.config file, Traffic Server must reread the configuration files: enter the Traffic Line command traffic_line -x. You may need to restart Traffic Server to apply some of the configuration changes.
The following is a sample portion of the records.config file:

Sample records.config file
In addition to the records.config file, Traffic Server provides other configuration files that are used to configure specific features. You can manually edit all configuration files as described in Configuration File Reference.