diff --git a/config/nginx.sample.conf b/config/nginx.sample.conf index cce128e7be0..a7d48481d15 100644 --- a/config/nginx.sample.conf +++ b/config/nginx.sample.conf @@ -28,6 +28,7 @@ server { listen 80; gzip on; gzip_min_length 1000; + gzip_comp_level 5; gzip_types application/json text/css application/x-javascript application/javascript; server_name enter.your.web.hostname.here; @@ -61,6 +62,7 @@ server { location ~ ^/assets/ { expires 1y; + gzip_static on; add_header ETag ""; add_header Cache-Control public; break;