Closed imlk0 closed 1 month ago
This error happens if you have multiple virtual hosts with the *
domain. Please post full config that produces this error.
@yanavlasov Thanks for the clarification. I checked again and realized that I added two virtual hosts with "*"
domain, which is an mistake. I will close this issue.
Title: How to add a fallback http virtual host
Description:
I'm writing a listener that is a dynamic forward proxy (using the
envoy.filters.http.dynamic_forward_proxy
http filter) that will distribute requests based on the target domain name to two different clusters.The basic requirement is that I want to dispatch requests sent to
*.examples.com
tocluster1
and then dispatch the remaining (other domains) requests tocluster2
.So I wrote something like this:
However it complains:
I have searched for info on this but no one asked how to set up a fallback virtual host. Does anyone have any suggestions for this?