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-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/ | 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