This is the default example configuration of deflate.conf provided by Apache. This config file was generated by Apache running on Debian 11.
It is located under: /etc/apache2/mods-available/deflate.conf
<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
Download the raw file with wget or curl
wget -O deflate.conf.example http://exampleconfig.com/static/raw/apache/debian11/etc/apache2/mods-available/deflate.conf
curl http://exampleconfig.com/static/raw/apache/debian11/etc/apache2/mods-available/deflate.conf > deflate.conf.example
Other config files you might find useful