added the missing gzip types and IE disable
This commit is contained in:
parent
ef5a9ede2e
commit
a414f2cfc3
1 changed files with 4 additions and 0 deletions
|
|
@ -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}"%>;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue