Hello everybody:
What i need is
https://IP_VS/magallanes --> should be redirected to https://nodemagallanes
The same as hansolo
the third part (redirect) works fine
So I have the following scenary
One virtual server which is listening on 443, which has a profile of tcp, http and client SSL (which is configured with my certificate and key)
I have 2 pools which nodes are listening on 80 (this part i´m not pretty sure if it is well done, perhaps they must be on 443 also)
And this is my IRULE
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with “/magallanes” } {
pool pool_magallanes
}
elseif { [string tolower [HTTP::uri]] starts_with “/hansolo” } {
pool pool_hansolo
}
else {
HTTP::redirect “https://www.bsplink.iata.org” }
}
But what it doesn´t work is the pools part.
Does anybody know what i´m doing wrong?
Best regards and thanks a lot
Nacho