iRules Recipe 3: Pool and SNAT Selection by Host Header Value
Updated Jun 06, 2023
Version 2.0Was this article helpful?
Thank you! And to extend it - how to perform http to https redirection at the same time? We do this with the following iRule attached to the VIP:
when HTTP_REQUEST {
HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
}
Do we need to keep it as a second iRule?