# Haproxy http2 server push

**URL:** <https://discourse.haproxy.org/t/haproxy-http2-server-push/5742>\
**Category:** Help!\
**Created:** [September 24, 2020, 2:15pm UTC](https://discourse.haproxy.org/t/haproxy-http2-server-push/5742 "2020-09-24T14:15:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![watcher666](https://avatars.discourse-cdn.com/v4/letter/w/8e7dd6/32.png) [@watcher666](https://discourse.haproxy.org/u/watcher666)\
**Post date:** [September 24, 2020, 2:15pm UTC](https://discourse.haproxy.org/t/haproxy-http2-server-push/5742/1 "2020-09-24T14:15:42Z")

</div>

Hello  
testing server push on haproxy  
HA-Proxy version 2.0.12

frontend cy  
option http-use-htx  
bind 172.23.16.173:443 ssl crt /etc/haproxy/cert.pem alpn h2,http/1.1  
acl hdr\_cy hdr\_beg(host) -i [domen.com](http://domen.com)  
http-request early-hint Link “\</js/jquery.validate.js\>; rel=preload; as=script”  
use\_backend bknd\_cy if hdr\_cy

backend bknd\_cy  
balance source  
option allbackups  
option http-use-htx  
timeout server 3m  
server web-1-https server:11443 check port 11443 inter 3000 alpn h2

Test  
[root@rejik haproxy]# nghttp -ans [https://domen.com/](https://domen.com/) | grep “/js/jquery.validate.js”  
69 +410.02ms +322.09ms 87.93ms 200 13K /js/jquery.validate.js

/js/jquery.validate.js - is not push , must be marked \* , in nghttp

---

<div class="post-metadata">

**Author:** ![jerome](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.haproxy.org/jerome/32/984_2.png) [@jerome](https://discourse.haproxy.org/u/jerome)\
**Post date:** [September 25, 2020, 7:41am UTC](https://discourse.haproxy.org/t/haproxy-http2-server-push/5742/2 "2020-09-25T07:41:58Z")

</div>

Hi,

as far as I know haproxy does not support server push with mode http. It does support early hints however.

---

<div class="post-metadata">

**Author:** ![watcher666](https://avatars.discourse-cdn.com/v4/letter/w/8e7dd6/32.png) [@watcher666](https://discourse.haproxy.org/u/watcher666)\
**Post date:** [September 25, 2020, 9:58am UTC](https://discourse.haproxy.org/t/haproxy-http2-server-push/5742/3 "2020-09-25T09:58:54Z")

</div>

hello  
used this article [https://www.haproxy.com/blog/haproxy-1-9-has-arrived/#early-hints-http-103https://www.haproxy.com/blog/haproxy-1-9-has-arrived/#early-hints-http-103](https://www.haproxy.com/blog/haproxy-1-9-has-arrived/#early-hints-http-103https://www.haproxy.com/blog/haproxy-1-9-has-arrived/#early-hints-http-103)  
is used there mode http
