We currently are copy/pasting blocks of configuration in the trafficserver configuration to direct test2wiki https://gerrit.wikimedia.org/r/c/862845 and testwikidata T331268: Migrate testwikidata to Kubernetes to wikikube.
We'd like to have a solution that is a bit more DRY and flexible, such as inserting a header at the HAProxy layer and use it at the second layer to forward the different URLs to their respective LVS endpoints (mw-web, mw-api-ext).
Seeking opinion from Traffic on how to best handle this, or if another better solution exists.