Browse files

gzip static css/js

  • Loading branch information...
1 parent 6c4db1c commit ae648ca5d98a8676aa94c8b88bf385ade72b6076 @leafo committed Jun 6, 2014
Showing with 3 additions and 0 deletions.
  1. +3 −0 nginx.conf
View
3 nginx.conf
@@ -40,6 +40,9 @@ http {
}
location /static/ {
+ access_log off;
+ gzip on;
+ gzip_types application/x-javascript text/css;
alias static/;
}

0 comments on commit ae648ca

Please sign in to comment.