/etc/apache2/mods-available/deflate.conf - Debian GNU/Linux 9 (stretch)

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

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

    <IfModule mod_deflate.c>
	<IfModule mod_filter.c>
		# these are known to be safe with MSIE 6
		AddOutputFilterByType DEFLATE text/html text/plain text/xml

		# everything else may cause problems with MSIE 6
		AddOutputFilterByType DEFLATE 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-available/deflate.conf
Operating system
Debian GNU/Linux 9 (stretch)
Length
14 lines
MD5 checksum
6649a32153b9afdc53f6898b5a10a2d6

Usage

Download the raw file with wget or curl

Wget

wget -O deflate.conf.example http://exampleconfig.com/static/raw/apache/debian9/etc/apache2/mods-available/deflate.conf

cURL

curl http://exampleconfig.com/static/raw/apache/debian9/etc/apache2/mods-available/deflate.conf > deflate.conf.example