PERF: enable gzip on proxied requests
This commit is contained in:
parent
d5fd6d2639
commit
18a929d801
|
@ -40,6 +40,7 @@ server {
|
||||||
gzip_min_length 1000;
|
gzip_min_length 1000;
|
||||||
gzip_comp_level 5;
|
gzip_comp_level 5;
|
||||||
gzip_types application/json text/css application/x-javascript application/javascript image/svg+xml;
|
gzip_types application/json text/css application/x-javascript application/javascript image/svg+xml;
|
||||||
|
gzip_proxied any;
|
||||||
|
|
||||||
# Uncomment and configure this section for HTTPS support
|
# Uncomment and configure this section for HTTPS support
|
||||||
# NOTE: Put your ssl cert in your main nginx config directory (/etc/nginx)
|
# NOTE: Put your ssl cert in your main nginx config directory (/etc/nginx)
|
||||||
|
|
Loading…
Reference in New Issue