Forum Discussion
DAGOATMAMBA_328
Nimbostratus
Aug 04, 2017Auto redirect http to https for LB traffic
For traffic routing to the new LB solution, if there is no matching host on the HTTP endpoint, return a redirect to the client for them to try the same request on the HTTPS endpoint.....this is for a...
DAGOATMAMBA_328
Nimbostratus
Aug 07, 2017when HTTP_REQUEST {
Check if Host header has a value
if {[HTTP::host] eq ""}{
pool pl_autos.dev.test.com
} else { HTTP::redirect https://[HTTP::host][HTTP::uri] }
}
- DAGOATMAMBA_328Aug 07, 2017
Nimbostratus
This is what I have come up with.....So, it looks for the host that has no matching host header for the pool and if it doesnt have matching one it redirects it at the end to https with the same hostsS/
- DAGOATMAMBA_328Aug 07, 2017
Nimbostratus
Am I somewhere in the ballpark (boy im a newb)
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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