On 30/03/17 18:02, Laurent Perez wrote: > Hi > > I managed to run the servlets/serverpush/simpleimage HTTP/2 push example > from Tomcat 9 trunk with the SSL Http11AprProtocol connnector and > <UpgradeProtocol > className="org.apache.coyote.http2.Http2Protocol"/>. > > Now I would like to enable HTTP/2 but without SSL : my certificates are > either hosted under my load balancer or Apache itself, and I do not require > SSL between mod_proxy and Tomcat. > > But org.apache.coyote.AbstractProcessor#isPushSupported then returns false, > as if the UpgradeProtocol did not fire. > > Is it possible to enable HTTP/2 with no SSL connector ?
Yes. You need to add the <UpgradeProtocol ... /> block to an HTTP connector. You should see in the start-up log that h2c is enabled via HTTP Upgrade. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org