diff --git a/web/cashtab/nginx.conf b/web/cashtab/nginx.conf --- a/web/cashtab/nginx.conf +++ b/web/cashtab/nginx.conf @@ -1,3 +1,32 @@ +gzip on; + +gzip_vary on; +gzip_proxied any; +gzip_comp_level 9; +gzip_buffers 16 8k; +gzip_http_version 1.1; +gzip_min_length 256; +gzip_types + application/atom+xml + application/geo+json + application/javascript + application/x-javascript + application/json + application/ld+json + application/manifest+json + application/rdf+xml + application/rss+xml + application/xhtml+xml + application/xml + font/eot + font/otf + font/ttf + image/svg+xml + text/css + text/javascript + text/plain + text/xml; + server { listen 80; location / {