update
This commit is contained in:
parent
c50569d73e
commit
a624163120
27 changed files with 215 additions and 6 deletions
|
|
@ -1,6 +1,9 @@
|
|||
# Enable gzip for common text-based responses.
|
||||
gzip on;
|
||||
gzip_vary on;
|
||||
|
||||
# Keep the default compression level moderate so the CPU cost stays predictable
|
||||
# on small VPS instances.
|
||||
gzip_comp_level 4;
|
||||
gzip_min_length 256;
|
||||
|
||||
|
|
@ -27,3 +30,6 @@ gzip_types
|
|||
text/plain
|
||||
text/xml
|
||||
text/vtt;
|
||||
|
||||
# Do not list text/html here. nginx already compresses it implicitly, and
|
||||
# repeating it suggests callers need to keep the two lists in sync.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue