Forum Discussion
irule to redirect https and ports
I have http redirect to https working fine. It is working fine and dandy as expected but the problem is that the users have to specify ports since the http is not default port. For instance, http://10.10.10.10:8989 would redirect to https://10.10.10.10:8989 working fine
The virtual server is listening to service port 8989 and the node is listening on port 8989. I want to change the virtual server to listen to default http port 80 which will forward to the node.
I need help with irule so that when users type only http://10.10.10.10 or url without port on their browsers it redirect to https://10.10.10.10 on port 8989.
Thanks for your help.
11 Replies
- What_Lies_Bene1
Cirrostratus
I don't see how this can work if the client is using http:// yet the VS has an ClientSSL profile assigned. The client won't negotiate SSL and the F5 will never see the HTTP_REQUEST. Try removing the ClientSSL profile and simply having an iRule with just the redirect in it.
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