Enable GZIP Compression on nginx inside docker deployed via mup


  1. Meteor
  2. AWS EC2 (m4.large)
  3. Ubuntu 16.04
  4. MeteorUp (MUP)
  5. Nginx Server

Based on Google’s Test, I found that my website https://yourmarch.com requires to “Enable Compression”. Based on Google Research, I have to enable GZIP compression on NGINX server. However, since I am using MUP to deploy my code, I am unable to access NGINX since it’s inside docker container. Can anyone help me with the procedure to enable GZIP compression for the above infrastructure?