mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
apache-httpd: Don't set default content encodings
In general, you don't want a .tar.gz file to be served with "Content-Encoding: x-gzip", because this causes browsers (like Chrome or "curl --compressed") to decompress the file on the fly. So you end up with a .tar rather than .tar.gz file, which is unexpected. If people want such encodings, they should set them in their own NixOS configuration.
This commit is contained in:
parent
cf7e151744
commit
9fa19cfcea
1 changed files with 0 additions and 3 deletions
|
@ -187,9 +187,6 @@ let
|
|||
<IfModule mod_mime_magic.c>
|
||||
MIMEMagicFile ${httpd}/conf/magic
|
||||
</IfModule>
|
||||
|
||||
AddEncoding x-compress Z
|
||||
AddEncoding x-gzip gz tgz
|
||||
'';
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue