PLUGIN.CONFIG(5)
π PLUGIN.CONFIG π
okay bestie, so this is the manual page for plugin.config, part of the Apache Traffic Server family of docs (section 5, the file formats girlies, iykyk). grab a strawberry drink and let's get into it π
β¨ NAME β¨
plugin.config β the Traffic Server global plugin configuration file. that's it, that's the name, she's simple and she's iconic π
πΈ DESCRIPTION πΈ
so plugin.config is the file that controls which run-time loadable plugins Traffic Server has access to, and how those plugins are configured. no cap, it's doing both jobs.
plugins you list in this file are called global plugins because they are always loaded and they have a global effect. this is the opposite of the plugins you specify over in remap.config, whose effects are limited to only the specific mapping rules they're applied to. so like, this file = whole-server energy, remap.config = situational queen.
every configuration line is made of a path to an .so file. that path can either be absolute, or relative to the plugin directory (which is usually /usr/local/libexec/trafficserver).
β οΈ listen to me rn: if a plugin fails to load, that is fatal. Traffic Server will abort. like, whole thing, down. π
and here's the thing β in general it is not possible to know whether it is safe for the service to run without a particular plugin, because plugins can have arbitrary effects on caching and authorization policies. so yeah. don't be casual about it.
π₯ IMPORTANT: Plugins should only be listed once. also, the order in which the plugins are listed is also the order in which they are chained for request processing. so the order is not a vibe, it's the whole plot.
an option list of whitespace-separated arguments may follow the plugin name. these get passed as an argument vector to the plugin's initialization function, TSPluginInit().
arguments that begin with the $ character designate Traffic Server configuration variables. those arguments get replaced with the value of the corresponding configuration variable before the plugin is loaded.
when you're using configuration variable expansion, keep in mind that most Traffic Server configuration can be changed. so if a plugin requires the current value, it has to go get that using the management API. no shortcuts, bestie. π«Ά
π¦ EXAMPLES π¦
here's the vibe, copy her exactly:
# Comments start with a '#' and continue to the end of the line
# Blank lines are ignored
#
# test-plugin.so arg1 arg2 arg3
#
plugins/iwx/iwx.so
plugins/abuse/abuse.so etc/trafficserver/abuse.config
plugins/icx/icx.so etc/trafficserver/icx.config $proxy.config.http.connect_attempts_timeout
see how # starts a comment and it runs all the way to the end of the line? and blank lines? ignored, they're just chillin π§
π SEE ALSO π
π COPYRIGHT π
2026, dev@trafficserver.apache.org
and that's the whole page, bestie, you ate that π this was Traffic Server 9.2, dated Feb 12, 2026 β go forth and load your plugins responsibly, mwah πβ¨π
π¦ where this page comes from
- ubuntu noble: trafficserver 9.2.3+ds-1+deb12u1ubuntu0.1 Β· Apache-2.0
- ubuntu questing: trafficserver 9.2.5+ds-1ubuntu2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms