From 18a929d801442643883531ea82c948c21d306e73 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 9 Jan 2018 13:28:05 +1100 Subject: [PATCH] PERF: enable gzip on proxied requests --- config/nginx.sample.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/config/nginx.sample.conf b/config/nginx.sample.conf index d4873585072..2cbf658369a 100644 --- a/config/nginx.sample.conf +++ b/config/nginx.sample.conf @@ -40,6 +40,7 @@ server { gzip_min_length 1000; gzip_comp_level 5; 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 # NOTE: Put your ssl cert in your main nginx config directory (/etc/nginx)