Skip to content

Commit

Permalink
add gzip
Browse files Browse the repository at this point in the history
  • Loading branch information
icco committed Jun 27, 2018
1 parent a5f92b4 commit a205542
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@ server {
server_tokens off;
charset utf-8;

gzip on;
gzip_disable "msie6";

gzip_vary on;
gzip_proxied any;
gzip_comp_level 6;
gzip_buffers 16 8k;
gzip_http_version 1.1;
gzip_min_length 256;
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/vnd.ms-fontobject application/x-font-ttf font/opentype image/svg+xml image/x-icon;

location /healthz {
return 200;
}
Expand Down

0 comments on commit a205542

Please sign in to comment.