From e68643611f47425b424d0d766bb4bfb00396debf Mon Sep 17 00:00:00 2001 From: Jimmy Thompson Date: Sun, 11 Sep 2016 21:21:06 +0100 Subject: [PATCH] Enable gzip on requests Relates to #25 --- _env/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_env/nginx.conf b/_env/nginx.conf index afe64739..7e07f282 100644 --- a/_env/nginx.conf +++ b/_env/nginx.conf @@ -12,6 +12,9 @@ http { keepalive_timeout 65; resolver 8.8.8.8 valid=5s; + gzip on; + gzip_types text/css application/json application/x-javascript text/javascript; + server { listen 80; server_name studentrobotics.org;