Hi guys,
I have a proxy, which has a set of endpoints, e.g. /cats and /dogs.
And I need to provide access to only /cats using one virtual host and for /cats and /dogs using another virtual host.
Is it possible to implement this without creating two separate proxies?
Hi @arsenalrulez, yes it can be done. Lets say we have 2 virtual hosts default & secure
<Condition>(proxy.pathsuffix MatchesPath "/cats") and (request.verb = "GET") and (virtualhost.name = "default")</Condition> <Condition>(proxy.pathsuffix MatchesPath "/dogs") and (request.verb = "GET") and (virtualhost.name = "secure")</Condition>
See also, this answer from yesterday.