Forum Discussion
Samir
Feb 01, 2020MVP
How many Pool members are there behind application "test.com", If only one then all request will be served to node "192.168.10.5" and simple iRule is enough to serve request. No issue with SSL certificate.
when HTTP_REQUEST {
if {[HTTP::host] ne ""}{
HTTP::respond 301 Location "https://[getfield [HTTP::host] ":" 1][HTTP::uri]"
} else {
HTTP::respond 301 Location "https://[IP::local_addr][HTTP::uri]"
}
}
Hope it will work for you.