KJ_50941
Sep 28, 2012Nimbostratus
iRule hlep
I need to redirect from http to https , also since some users have bookmark specific port for exmaple port 8050 in their browser to be redirect to https. how do I do that.
does this works...
How about this one?
when HTTP_REQUEST {
if {[HTTP::uri] equals {http://example:8050}} {HTTP::uri {https://example.com}
} else {
HTTP::redirect https://[IP::local_addr][HTTP::uri]
}
}
}
}
Thx all