fix mimetype stuff and add gzip to nginx