# irule to enable http/2 acceleration

**URL:** <https://community.f5.com/t/irule-to-enable-http-2-acceleration/75909>\
**Category:** Technical Forums\
**Tags:** application-delivery\
**Created:** [March 20, 2025, 9:39am UTC](https://community.f5.com/t/irule-to-enable-http-2-acceleration/75909 "2025-03-20T09:39:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbudi1](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@jbudi1](https://community.f5.com/u/jbudi1)\
**Post date:** [March 20, 2025, 9:39am UTC](https://community.f5.com/t/irule-to-enable-http-2-acceleration/75909/1 "2025-03-20T09:39:37Z")

</div>

Hello,

I got some case, we have some virtual server with irules we want to enable http/2 for specific FQDN, but we don’t want enable the http/2 profile on the virtual server, because it will impact all FQDN that handled by that virtual server.

it is possible to enable http/2 acceleration using irule? Or the only way to enable http/2 profile is using configuration utility only

Thanks

---

<div class="post-metadata">

**Author:** ![Paulius](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/paulius/32/21698_2.png) [@Paulius](https://community.f5.com/u/Paulius)\
**Post date:** [March 20, 2025, 7:23pm UTC](https://community.f5.com/t/irule-to-enable-http-2-acceleration/75909/2 "2025-03-20T19:23:37Z")

</div>

I don’t believe this is possible because the profile use is done prior to the iRule being used to identify the specific HTTP header to select a different HTTP profile.
