Forum Discussion
Shawn_Roman_262
Nimbostratus
May 11, 2016Can Someone tell me the best way to create an HTTP to HTTPS redirection.
I am looking to create a VIP using redirection and would like to know what the best way to accomplish this is?
Here is the basic idea that I am looking to accomplish:
http://123.abc.com:9080 ---...
Yann_Desmarest
Cirrus
May 12, 2016Sorry,
Just saw in your post that you mention custom tcp ports. On top of the response from Chris, you should use the following irule instead :
when HTTP_REQUEST {
HTTP::respond 302 Location "https://[getfield [HTTP::host] ":" 1]:9443[HTTP::uri]"
}
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