Skip to content

Commit

Permalink
Enable HTTP/2 protocol by default in HaProxy
Browse files Browse the repository at this point in the history
HTTP2 nowadays is a must have feature to improve the speed of the webservices.
  • Loading branch information
cociweb authored Sep 12, 2023
1 parent 0685eba commit bce2830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/etc/haproxy/haproxy.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defaults
timeout server 15m

frontend public
bind *:80
bind *:80 alpn h2,http/1.1
use_backend webcam if { path_beg /webcam/ }
default_backend octoprint

Expand Down

0 comments on commit bce2830

Please sign in to comment.