Enable gzip for CSS and Javascript

This will allow to reduce size of response for bundle.js
from 1.7MB to 377KB.

Change-Id: Ic3badbe8085c9d1b63503d106a7810f69d3afaf4
Partial-Bug: #1517028
This commit is contained in:
Vitaly Kramskikh 2015-12-08 22:53:46 +03:00
parent 6a5f6c0afb
commit ec562eb98e
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ server {
gzip on;
gzip_min_length 1000;
gzip_types text/plain application/json;
gzip_types text/plain text/css application/json application/javascript application/x-javascript;
location /static {
autoindex on;