Forum Discussion
Redirect HTTP Traffic to HTTPS on a Nonstandard Port.
Instead of creating 3 VIPs, only one VIP(443) is enough to redirect connection.
Above iRule is correct but only iRule will not help to solve issue. You need to enable non-SSL connections on SSL profile.
Follow the link
- YugandharAug 15, 2018
Nimbostratus
Thank you .. if we apply the iRule
HTTP::redirect "https://[getfield [HTTP::host] : 1][HTTP::uri]"
on the VIP http ... will this redirect the traffic to https://test7883.com:8900
Here we have a HTTP VIP on port 8900 and HTTPS VIP running on a nonstandard port (8900).. So traffic coming to HTTP VIP i.e http://test7883.com:8900 should be forwarded to HTTPS VIP i.e. https://test7883.com:8900 which accepts https connections on port 8900.
- Samir_Jha_52506Aug 15, 2018
Noctilucent
Follow up jaikumar_f5 iRule.. condition below
HTTP::redirect https://[getfield [HTTP::host] : 1]:8900[HTTP::uri] - YugandharAug 15, 2018
Nimbostratus
Thnak you F5_Rock..!!!
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