Forum Discussion
newbee_77933
Nimbostratus
Jan 13, 2010http to https redirects
Hi,
i am new to this and would appreciate some advice. We are moving one of our customers from another load balancer to the F5 LTM running. The customer currently uses 3 VSs a catch all( port 0 VS ), port 443 VS and a port 8080 VS used to offload the 443 traffic , all with the same IP. The port 80 VS redirects traffic to the 443 VS.
So when we move to the LTM, i guess the following iRule applied to the port 80 VS with the http profile should work :
when HTTP_REQUEST {
HTTP::redirect https://[HTTP::host][HTTP::uri]
log local0. "[HTTP::host][HTTP::uri]"
}
The 443 VS will have client SSL profile enabled and the pool members on the 443 VS will listen on say port 8080. So we wont need the port 8080 VS.
I am guessing this will work, if not please tell me why it wont.
Is there a more efficient way of doing this? If so how?
thanks
3 Replies
- hoolio
Cirrostratus
Hi, - newbee_77933
Nimbostratus
Sorry about that, - newbee_77933
Nimbostratus
yup agreed we do filter traffic before it gets to the VS.
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