Skip to content

Commit 21dbc68

Browse files
committed
haproxy: enable HTTP/2 support
1 parent ef1a0ef commit 21dbc68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

etc/haproxy/haproxy.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ backend backend_haproxy_stats
4343
server stats 127.0.0.1:8081
4444

4545
frontend frontend_http_reverse_proxy
46-
bind *:80
47-
bind *:443 ssl crt /run/haproxy/certs
46+
bind *:80 alpn h2,http/1.1
47+
bind *:443 ssl crt /run/haproxy/certs alpn h2,http/1.1
4848
mode http
4949

5050
# handle haproxy statistics page

0 commit comments

Comments
 (0)