added the missing gzip types and IE disable

This commit is contained in:
zhitomirskiyi 2010-11-12 16:34:10 -08:00
parent ef5a9ede2e
commit a414f2cfc3

View file

@ -27,6 +27,10 @@ http {
gzip_comp_level 2; gzip_comp_level 2;
gzip_proxied any; gzip_proxied any;
gzip_buffers 16 8k; gzip_buffers 16 8k;
gzip_types text/plain text/html text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript;
gzip_disable "MSIE [1-6]\.(?!.*SV1)";
upstream thin_cluster { upstream thin_cluster {
<% @ports.each do |port| %> <% @ports.each do |port| %>
server <%="localhost:#{port}"%>; server <%="localhost:#{port}"%>;