Enabled gzip for nginx and minor fixes