Forum Discussion
Mohammad_1363
Altocumulus
Jun 30, 2021Redirect incoming HTTPS request on on prem F5 to AWS ELB
Hello F5 Guru I have a requirement to redirect incoming https traffic for one of my application to AWS, so when the https request is coming and hitting my VIP on F5 which is on local datacenter that...
Mayur_Sutare
MVP
Jun 30, 2021Hi ,
You can try below irule. You need to put specific url in place of aws-url-path where you want to redirect matched requests.
when HTTP_REQUEST {
if {([HTTP::uri] starts_with "/x/y/") || ([HTTP::uri] starts_with " /xx/yy/") {
HTTP::redirect "https://aws-url-path"
} else {
pool pool-xyz-http
}
}
Hope it helps!
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