Forum Discussion
Gajji
Apr 16, 2021Cirrostratus
X-Forwarded-Host Configuration help
The X-Forwarded-Host HTTP request header is required to forward the original Host HTTP request header value to the origin server. When the user sends requests to https://abc.pfc.net/ , the requ...
spalande
Apr 16, 2021Nacreous
BIGIP doesn't modify HOST header values by default. So server should receive original HOST header coming from the client. But if you still want to pass it explicitly you can use something sort of below.
when HTTP_REQUEST {
while {[HTTP::header exists "X-Forwarded-Host"]}{
HTTP::header remove "X-Forwarded-Host"
}
HTTP::header insert "X-Forwarded-Host" [HTTP::host]
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects