This page lists known issues with Varnish Controller; for example, identified bugs that are being worked on, along with potential workarounds. If not stated, these issues apply to all versions.
Only one VG can be deployed for the same domain to the router for it to be routed correctly. The router only knows about the domain of incoming requests and can currently not distinguish between different VCLGroups within the same domain. It won’t know which one the request should be routed to.
To route to a different set of servers (like Edge first, then Storage as fallback), create a second
VCLGroup with a different domain, like example2.com
. Use it as an External Route and use the
External Route as a fallback in the first Routing Rule for the first VCLGroup. This will create an
extra HTTP 302
redirect, but only when the first VCLGroup has no available servers.
- VCLGroup1
- Domain: example.com
- RoutingRule: rr1
- Lookup-order: <decision>,external
- ExternalRoutes: ext1
- URL: http://example2.com
- VCLGroup2
- Domain: example2.com
- RoutingRule: rr2
- Lookup-order: <decision>