/etc/apache2/mods-enabled/deflate.conf - Ubuntu 20.04 LTS (Focal Fossa)

This is the default example configuration of deflate.conf provided by Apache. This config file was generated by Apache running on Ubuntu 20.04.

It is located under: /etc/apache2/mods-enabled/deflate.conf

    <IfModule mod_deflate.c>
	<IfModule mod_filter.c>
		AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
		AddOutputFilterByType DEFLATE application/x-javascript application/javascript application/ecmascript
		AddOutputFilterByType DEFLATE application/rss+xml
		AddOutputFilterByType DEFLATE application/xml
	</IfModule>
</IfModule>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

    
  

Config Details

Location
/etc/apache2/mods-enabled/deflate.conf
Operating system
Ubuntu 20.04 LTS (Focal Fossa)
Length
10 lines
MD5 checksum
c0df9dcfde4448823efb0c0dd3b0d749

Usage

Download the raw file with wget or curl

Wget

wget -O deflate.conf.example http://exampleconfig.com/static/raw/apache/ubuntu20.04/etc/apache2/mods-enabled/deflate.conf

cURL

curl http://exampleconfig.com/static/raw/apache/ubuntu20.04/etc/apache2/mods-enabled/deflate.conf > deflate.conf.example