nginx开启gzip
upstream points_server { ip_hash; server 10.128.8.100:8080; } server { error_log logs/web-points.log; listen 10000; location / { gzip on; gzip_types application/json; gzip_comp_level 3; gzip_min_length 1k; gzip_buffers 8 32k; gzip_http_version 1.1; gzip_proxied any; gzip_vary on; proxy_pass http://points_server/web-points/; } }