Take a look at http://nginx.org/en/docs/http/ngx_http_gzip_module.html
What Port are you used ? Did you open it? Normally the firewall module is not activated after installation.