Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • 1
    Is there a way to not use HAproxy? Spring boot and tomcat couldn't just handle encription and the upgrade?
    – corlaez
    Commented Aug 1, 2017 at 20:08
  • Check this link readlearncode.com/configure-tomcat-9-for-http2 posted by Alex above.
    – yglodt
    Commented Aug 1, 2017 at 21:40
  • I was planning to use it with embedded tomcat of spring which is 8.5. I think I will try Undertow it is supposed to have support for http2
    – corlaez
    Commented Aug 1, 2017 at 21:50
  • 2
    Embedded Tomcat does also support http2, and ssl can be configured like this: docs.spring.io/spring-boot/docs/current/reference/html/…. If you do that, and add the connector.addUpgradeProtocol(new Http2Protocol()); I believed it should work.
    – yglodt
    Commented Aug 2, 2017 at 6:00
  • Do you have source about embedded tomcat (8.5) support of http2? I read something about tomcat native. I havent been able to set up tomcat yet.
    – corlaez
    Commented Aug 3, 2017 at 4:07