Logs: serve .log and .sh files as text/plain

Change-Id: Ic3692a3c9fa8269afa2073b212d739015acced9f
This commit is contained in:
James E. Blair 2016-06-15 10:47:55 -07:00
parent 03fd10d662
commit 33b2428e9a

View File

@ -13,6 +13,9 @@ NameVirtualHost <%= @vhost_name %>:<%= @port %>
<% end -%>
DocumentRoot <%= @docroot %>
AddType text/plain .log
AddType text/plain .sh
# use Apache to compress the results afterwards, to save on the wire
# it's approx 18x savings of wire traffic to compress. We need to
# compress by content types that htmlify can produce