Whenever we go for URL
https://xyz.com it gives Connection reset but when we provide the URI along with it redirect properly such as
https://xyz.com/home.aspx.wondering what result is when running curl.
e.g.
[root@ve10:Active] config b virtual bar list
virtual bar {
destination 172.28.19.79:443
ip protocol 6
rules myrule
profiles {
clientssl {
clientside
}
http {}
tcp {}
}
}
[root@ve10:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] eq "xyz.com" } {
HTTP::redirect "https://www.[HTTP::host][HTTP::uri]"
}
}
}