diff --git a/ansible/roles/nginx/files/nginx.conf b/ansible/roles/nginx/files/nginx.conf index b1ecd9f..25179d8 100644 --- a/ansible/roles/nginx/files/nginx.conf +++ b/ansible/roles/nginx/files/nginx.conf @@ -25,8 +25,14 @@ http { sendfile on; tcp_nopush on; + + # Gzip basically everything if we can gzip on; gzip_vary on; + gzip_types *; + gzip_proxied any; + gzip_comp_level 3; + gzip_min_length 1024; keepalive_timeout 65;