Skip to content

Tag: http2

Enable HTTP2 with Tomcat in Spring Boot

Tomcat 8.5, which will be the default in Spring Boot 1.4, supports HTTP/2. How can HTTP/2 be enabled in a Spring Boot application? Answer The most elegant and best-performing way to enable HTTP/2 with a Spring Boot application follows here. First, as mentioned in Andy Wilkinson’s answer, you need to enable HTTP/2 at Tomcat level: In case you are not