Apache deflate.conf configuration example for Debian GNU/Linux 11 (bullseye)

Get the default configuration file deflate.conf for Apache, optimized for Debian GNU/Linux 11 (bullseye). This example configuration ensures optimal compatibility and performance for Apache, making it easy to set up and adjust to meet your needs.

Find and download the configuration file here: /etc/apache2/mods-available/deflate.conf.

For more configurations and setup guides, visit our related files section to further customize your system.

    <IfModule mod_deflate.c>
	<IfModule mod_filter.c>
		AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript
		AddOutputFilterByType DEFLATE application/x-javascript application/javascript application/ecmascript
		AddOutputFilterByType DEFLATE application/rss+xml
		AddOutputFilterByType DEFLATE application/wasm
		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 11 (bullseye)
Length
11 lines
MD5 checksum
3715759ec5f39673a60c56c4fcd14419

Usage

Download the raw file with wget or curl

Wget

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

cURL

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