trafficserver icon indicating copy to clipboard operation
trafficserver copied to clipboard

Virtualhost config with remap rules

Open serrislew opened this issue 2 months ago • 0 comments

Initial POC to support virtualhost config schema with remap rules.

  • Resolves to a single virtualhost entry
    • Remap rule logic remains the same. Order ranking still applies (i.e. rules defined first have priority)
    • Virtualhost remap rules have priority. If no remap rule matches or virtualhost is found, existing remap.config is then considered
  • Virtualhost domains support exact and wildcard (only single left-most "*") matching
  • Supports traffic_ctl config reload of single virtualhost entry
$ traffic_ctl config reload --virtualhost foo
┌ Virtualhost: foo
└┬ Reload status: ok
 ├ Message: Virtualhost successfully reloaded

TODO:

  • add docs

serrislew avatar Nov 18 '25 01:11 serrislew