Rich's IT Blog

Sharing the joy of DevOps and Coffee

Month: September 2018

Nginx Requests Not Being Gzipped on CDN Pass-Through

A couple months ago I ran into a curious situation. Requests from Nginx were being gzipped as expected and requests from CDN were being gzipped. My Nginx settings for compression looked like this: gzip on; gzip_comp_level 6; gzip_http_version 1.1; gzip_min_length 0; gzip_types application/json application/x-javascript application/javascript text/plain text/css text/javascript text/xml; gzip_vary […]