Gzip Compression

I am trying to enable gzip compression. I added the code to the nginx.conf file and reloaded it but it is still showing no compression.