[IMP]Nginx GZIP compression on more types, and buffering
This commit is contained in:
parent
6fb9dc7a81
commit
2b6e608f1e
@ -17,8 +17,9 @@ server {
|
|||||||
server_name ${SERVER_NAMES};
|
server_name ${SERVER_NAMES};
|
||||||
client_max_body_size 200M;
|
client_max_body_size 200M;
|
||||||
gzip on;
|
gzip on;
|
||||||
gzip_min_length 256;
|
gzip_min_length 512;
|
||||||
gzip_types text/plain application/x-javascript application/json text/xml text/css;
|
gzip_buffers 4 32k;
|
||||||
|
gzip_types text/plain text/xml text/css text/less application/x-javascript application/xml application/json application/javascript;
|
||||||
gzip_vary on;
|
gzip_vary on;
|
||||||
keepalive_timeout 120s;
|
keepalive_timeout 120s;
|
||||||
proxy_read_timeout 720s;
|
proxy_read_timeout 720s;
|
||||||
|
Loading…
Reference in New Issue
Block a user