Hello,
we need to route the traffic based on destination Host and Request Header (user-agent).
Up to now we have a label like the following, but routing is based only on the host:
"traefik.http.routers.website1.rule=Host(www.website1.com
) || Host(website1.com
)"
We would like to achieve something like the following examples:
Service1:
"traefik.http.routers.website1.rule=Host(www.website1.com
) || Host(website1.com
) && Header(user-agent=*chrome*
))"
Service2:
"traefik.http.routers.website1.rule=Host(www.website1.com
) || Host(website1.com
) && Header(user-agent=*firefox*
))"
Is there a way to achieve such configuration?
Thank you very much in advance
Francesco