diff options
author | Jonas Smedegaard <dr@jones.dk> | 2020-10-21 20:27:37 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2020-10-21 20:28:00 +0200 |
commit | e91d8446c970e198f4acbc8c1440b0d4b3959170 (patch) | |
tree | 2c61e42bc79de1c8ef791f0f89734031ed793ef9 /apache2/mods-available | |
parent | a5b3906c71f2efb2116d504349dd8b66bfae3ad9 (diff) |
add conf snippet local-compression, and update patch to mods snippet deflate to virtually unconfigure it
Diffstat (limited to 'apache2/mods-available')
-rw-r--r-- | apache2/mods-available/deflate.conf | 11 | ||||
-rw-r--r-- | apache2/mods-available/deflate.conf.diff | 22 |
2 files changed, 13 insertions, 20 deletions
diff --git a/apache2/mods-available/deflate.conf b/apache2/mods-available/deflate.conf index 26a08f7..cfc4b20 100644 --- a/apache2/mods-available/deflate.conf +++ b/apache2/mods-available/deflate.conf @@ -1,12 +1,3 @@ -<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/json - AddOutputFilterByType DEFLATE application/rss+xml - AddOutputFilterByType DEFLATE application/wasm - AddOutputFilterByType DEFLATE application/xml - </IfModule> -</IfModule> +# enable conf snippet compression instead... # vim: syntax=apache ts=4 sw=4 sts=4 sr noet diff --git a/apache2/mods-available/deflate.conf.diff b/apache2/mods-available/deflate.conf.diff index 210b644..b8e30e2 100644 --- a/apache2/mods-available/deflate.conf.diff +++ b/apache2/mods-available/deflate.conf.diff @@ -1,12 +1,14 @@ --- deflate.conf.orig +++ deflate.conf -@@ -2,7 +2,9 @@ - <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/json - AddOutputFilterByType DEFLATE application/rss+xml -+ AddOutputFilterByType DEFLATE application/wasm - AddOutputFilterByType DEFLATE application/xml - </IfModule> - </IfModule> +@@ -1,10 +1,3 @@ +-<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/xml +- </IfModule> +-</IfModule> ++# enable conf snippet compression instead... + + # vim: syntax=apache ts=4 sw=4 sts=4 sr noet |