On 08/02/18 20:15, Pierre Chiu wrote: > Is there anybody out there successfully running tomcat 9.0.4 or 8.5.27 with > https, http2 and gzip working? > If so, please share your config.
Clean install of 9.0.x built from source (relevant code hasn't changed). Will be the same with 9.0.4 (as this is how I tested it when I wrote the HTTPO/2 gzip support) and the current 9.0.5 RC. Install Tomcat Native 1.2.16 Uncomment the HTTPS APR/native connector in server.xml Add suitable certificate files (adjust config as necessary) Add compression="on" to the UpgradeProtocol Request the homepage. Examine the headers for tomcat.css (a compressible resource) Request: :authority:localhost:8443 :method:GET :path:/tomcat.css :scheme:https accept:text/css,*/*;q=0.1 accept-encoding:gzip, deflate, br accept-language:en-GB,en-US;q=0.9,en;q=0.8 cache-control:no-cache pragma:no-cache referer:https://localhost:8443/ user-agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Response: accept-ranges:bytes content-encoding:gzip content-type:text/css date:Thu, 08 Feb 2018 20:30:58 GMT etag:W/"5581-1518121410000" last-modified:Thu, 08 Feb 2018 20:23:30 GMT status:200 vary:Accept-Encoding File size is 1.8KB (the original file is 5.6KB) Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org