Pavan_Dhanushka
Sep 23, 2020Altostratus
X-Forward-Proto for HTTP version identifier(1.0/2)
I recently created & applied a HTTP/2 profile to a virtual server and its working successfully. Stakeholder wants to distinguish the connections b/w HTTP1 and HTTP2. And I'm planning to create a iRule for that similar like mentioned below but I was unable to find a iRule/Policy to fix this. Please let me know if you feasible solution for this.
when HTTP_REQUEST {
if { [TCP::local_port] == "80" } {
HTTP::header insert Protocol http
} elseif { [TCP::local_port] == "443" } {
HTTP::header insert Protocol https
Currently my LTM working on 14.1.x version.