Forum Discussion
raj_Kumar_19166
Nimbostratus
Feb 11, 2016HTTPS to HTTP redirection from three external web urls to internal web urls using F5 as a revers proxy
we have three external web URLs which will come on our frontend f5 and need to redirect to internal web URLs and use as a reverse proxy.
External URLs: https://site3Ex.com
Internal URLs: htt...
Lee_Payne_53457
Cirrostratus
Feb 11, 2016Do all of the external sites work on the same IP or are they all discrete VIP's? If they are all discrete then it looks like adding the internal address as a pool member would do it (assuming you enable port address translation). If they are all on the same VIP then there are several ways to do it, either using a datagroup or a case select (to make it easier to add more in the future), something like:
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::host]] {
"siteex1.com" {
node 172.16.46.32 8080
}
"siteex2.com" {
node 172.16.40.253 8081
}
"siteex3.com" {
node 172.16.40.201 8082
}
}
}
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