Add compression configuration for tomcat.