e.g.
[root@ve1024:Active] config b virtual bar80 list
virtual bar80 {
destination 172.28.19.79:80
ip protocol 6
rules myrule
profiles {
http {}
tcp {}
}
}
[root@ve1024:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
HTTP::redirect "https://[HTTP::host][HTTP::uri]"
}
}
[root@ve1024:Active] config b virtual bar443 list
virtual bar443 {
snat automap
pool foo
destination 172.28.19.79:443
ip protocol 6
profiles {
clientssl {
clientside
}
tcp {}
}
}
[root@ve1024:Active] config b pool foo list
pool foo {
members 200.200.200.101:80 {}
}
[root@ve1024:Active] config curl -ILk http://172.28.19.79
HTTP/1.0 302 Found
Location: https://172.28.19.79/
Server: BigIP
Connection: Keep-Alive
Content-Length: 0
HTTP/1.1 200 OK
Date: Fri, 29 Jun 2012 09:30:18 GMT
Server: Apache/2.2.3 (CentOS)
Last-Modified: Fri, 11 Nov 2011 14:48:14 GMT
ETag: "4183e4-3e-9c564780"
Accept-Ranges: bytes
Content-Length: 62
Content-Type: text/html; charset=UTF-8