Forum Discussion

Mahendra_Singh's avatar
Mahendra_Singh
Icon for Nimbostratus rankNimbostratus
Jun 05, 2018

HTTP to HTTPS redirection for multiple domain with SSL SAN cert.

I want to redirect multiple domains from http to https pointing on same VS with SSL SAN certificate and I want to use below irule

 

when HTTP_REQUEST { if { [string tolower [HTTP::host]]} then { HTTP::respond 301 "Location" https://[HTTP::host][HTTP::uri] return } }