Added application/json to Nginx mime.types, added application/json and text/plain to Nginx gzip_types