Forum Discussion

Elias_O_16228's avatar
Elias_O_16228
Icon for Nimbostratus rankNimbostratus
Dec 26, 2012

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