Forum Discussion
Preet_pk
Cirrus
Oct 12, 2023How to enbale HTTP/2 on F5 via irule
Hi All, Is there any option to enable HTTP/2 via irule for a specific hostname. Below is the current setup . LAB-INTERNAL-iRule when HTTP_REQUEST { switch [string tolower [HTTP::host]] { labred...
Samir
MVP
Oct 12, 2023Not tested but something can be written like this
when CLIENT_ACCEPTED {
set url [string tolower [HTTP::host]]
}
when HTTP_REQUEST {
if { [$url eq "labred.local.ae"] && [HTTP2::active] } {
pool Lab-red-pool }
elseif { [$url eq "labblue.local.ae"] } {
pool Lab-blue-pool }
}
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects