How to enable GZIP in my tomcat server having Https/ssl
<p>I have added below the code in my Tomcat /server.xml for enable the gzip but not work</p>

<pre><code>&lt;Connector port="8080" maxHttpHeaderSize="8192"
           maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
           enableLookups="false" redirectPort="8443" acceptCount="100"
           connectionTimeout="20000" disableUploadTimeout="true" 
           compression="on" 
     compressionMinSize="2048" 
     noCompressionUserAgents="gozilla, traviata" 
     compressableMimeType="text/html,text/xml"/&gt;
</code></pre>

<p>This work me for locally but not on my WEB SERVER i.e tomcat server having Https/SSL protocol </p>

<p>Any buddies can help me ?</p>

<p>Thanks in advance for replying.</p>