Forum Discussion
irule redirection
Hey,
Currently the way that we preform ssl redirection is through the use of 2 vips (same ip for each one, so we have two vips per application) one for http and the other https. We offload with on the ssl vip and the http vip we have the irule the redirects like so:
when HTTP_REQUEST { TCP::respond "HTTP/1.1 302 Found\r\nLocation: https://[HTTP::host][HTTP::uri]\r\nConnection: close\r\nContent-Length: 0\r\n\r\n" TCP::close discard }
What is the best way to redirect using a single VIP, if possible so that only one vips is used?
Thanks
1 Reply
- amolari
Cirrostratus
If you want to have a "listener" on ports 80 (redirection) and 443 you need 2 vips.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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