Currently on OPDK we are capturing request host in target response flow for logging purpose using variable virtualhost.aliases.values
As we don’t have same variable in hybrid, how we can get the request host without altering any code.
Is there any direct variable we can use in target response flow to capture request host?
i tried using
request.header.Host
request.hostname
proxy.request.url.host
X-Original-Hostname
We know one of the solution is capture that host in request flow and use that later. As we migrate we don’t want to alter any code. So looking for any direct way we can achieve this using variables