How to enable Gzip on Amazon Elastic Beanstalk with Tomcat and Apache

Follow these steps to enable gzip on Amazon EBS Step 1: Create a top-level directory named .ebextensionsin your source bundle.  And create two files in it as shown below. The contents of enable_mod_deflate.conf # mod_deflate configuration <IfModule mod_deflate.c> # Restrict compression to these MIME types AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType …

How to enable Gzip on Amazon Elastic Beanstalk with Tomcat and Apache Read More »