Closed mark-lancaster closed 3 years ago
Hi Tim
In server.xml for your Vagrant VMs please add compression="on" to the UpgradeProtocol. It is not inherited from the Connector attributes. Tested in Tomcat 9.0.46
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="250" scheme="https" secure="true" keystoreFile="###KEYSTORE_DIR###/keystore.jks" keystorePass="###KEYSTORE_PASSWORD###" clientAuth="false" sslProtocol="TLS" sslEnabledProtocols="TLSv1.2" URIEncoding="UTF-8" compression="on" noCompressionUserAgents="gozilla, traviata" compressableMimeType="text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json" > <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" compression="on"/> </Connector>
Done. Thanks for the heads-up. :)
Cheers
Tim...
Hi Tim
In server.xml for your Vagrant VMs please add compression="on" to the UpgradeProtocol. It is not inherited from the Connector attributes. Tested in Tomcat 9.0.46