Set json.gz mimetype properly

This sets the json.gz files' mimetype to application/json so that we can
compress stackviz report data and still have it render properly in your
browser. This will allow us to save space on the log server.

Change-Id: I42d7d607e5864a81d52e72ff695331eb2d67d2c0
This commit is contained in:
Clark Boylan 2017-05-25 15:08:10 -07:00
parent c43b038156
commit 524d236b80
1 changed files with 4 additions and 0 deletions

View File

@ -46,6 +46,10 @@ NameVirtualHost <%= @vhost_name %>:<%= @port %>
ForceType image/svg+xml
AddEncoding x-gzip gz
</FilesMatch>
<FilesMatch \.json\.gz$>
ForceType application/json
AddEncoding x-gzip gz
</FilesMatch>
<FilesMatch \.css$>
# mod_mime_magic is sometimes passing css files as asm sources
# e.g css files generated by coverage reports