Skip to content

virtualhost.yaml with remap rules#13108

Open
serrislew wants to merge 4 commits into
apache:masterfrom
serrislew:vhost
Open

virtualhost.yaml with remap rules#13108
serrislew wants to merge 4 commits into
apache:masterfrom
serrislew:vhost

Conversation

@serrislew
Copy link
Copy Markdown
Contributor

@serrislew serrislew commented Apr 20, 2026

V2 of #12669 but including remap.yaml (#12997)

  • 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.yaml or .config is then considered
  • Virtualhost domains support exact and wildcard (only single left-most "*") matching
  • Supports traffic_ctl config reload of single virtualhost entry using reload directives
    • $ traffic_ctl config reload -D virtualhost.id=foo
    • Uses token model reload

@serrislew serrislew self-assigned this Apr 20, 2026
@serrislew serrislew marked this pull request as draft April 20, 2026 23:49
@brbzull0 brbzull0 self-requested a review April 21, 2026 08:11
@bryancall bryancall modified the milestone: 11.0.0 Apr 27, 2026
@brbzull0
Copy link
Copy Markdown
Contributor

I was talking with @serrislew about some parts of this PR, specially related to the interaction with the reload handler. I think #13110 is the plumbing that the id base reloading could benefit from.

@serrislew serrislew marked this pull request as ready for review May 19, 2026 19:31
@serrislew serrislew requested a review from masaori335 May 19, 2026 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants