Permalink
Browse files

Enable gzip compression by default

  • Loading branch information...
1 parent f3bd396 commit bf8a3f1abe9e4d719a7c0fc8c7e5a2162b14701c @blt04 committed Aug 28, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 templates/nginx.conf.erb
View
@@ -41,13 +41,12 @@ http {
gzip on;
gzip_disable "msie6";
-
- # gzip_vary on;
+ gzip_vary on;
+ gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
# gzip_proxied any;
# gzip_comp_level 6;
# gzip_buffers 16 8k;
# gzip_http_version 1.1;
- # gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
##
# nginx-naxsi config

0 comments on commit bf8a3f1

Please sign in to comment.