Skip to content
This repository has been archived by the owner on Mar 25, 2022. It is now read-only.

Commit

Permalink
nginx: enable gzip compression
Browse files Browse the repository at this point in the history
Fixes ipfs/go-ipfs #1948

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
  • Loading branch information
Lars Gierth committed Nov 7, 2015
1 parent 936fa10 commit e80ea37
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions solarnet/roles/nginx/templates/nginx.conf.j2
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
server_names_hash_bucket_size 64;

gzip on;
gzip_min_length 1024;
gzip_comp_level 9;
gzip_types *;
gzip_proxied any;

0 comments on commit e80ea37

Please sign in to comment.