我可以将HAProxy配置为将自己呈现为HTTP/3服务器,方法如下:https://www.haproxy.com/blog/announcing-haproxy-2-6/
bind :443 ssl crt server.pem alpn h2,http/1.1
http-response set-header alt-svc "h3=\":443\";ma=900;"但是,我需要在haproxy.cfg中添加什么来向HAProxy表明后端服务器支持HTTP/3,并且应该使用QUIC协议连接到它?我尝试了相同的quic4@前缀,但它似乎什么也没做。
server s1 quic4@192.168.4.4:443发布于 2022-12-09 03:48:08
您还需要这一行来启用quic协议;
# enables HTTP/3 over QUIC
bind quic4@:443 ssl crt /etc/haproxy/certs/foo.com/cert.pem alpn h3https://serverfault.com/questions/1117608
复制相似问题