Redirect All Request from HTTP to HTTPS:
when
HTTP_REQUEST {
HTTP::redirect https://[HTTP::host][HTTP::uri] }
Redirect based on specific URI:
HTTP::redirect https://[HTTP::host][HTTP::uri] }
Redirect based on specific URI:
when HTTP_REQUEST {
if { [HTTP::host] matches "abc.def.com"} {
HTTP::redirect "https://[HTTP::host][HTTP::uri]"}
}
No comments:
Post a Comment