Enable Gzip compression for CSS, SVG, JS assets - www.gitlab.com

The following mime types do not seem to have Gzip compression enabled. This was mentioned in #29 (closed) and addressed in !105 (merged) - I can't see the NGINX configuration in the repository anymore so cannot confirm if these types are set.

  • image/svg+xml;
  • text/css;
  • text/javascript;

This can be reproduced by running the following: - no gzip header is present

curl -H 'Accept-Encoding: gzip,deflate' -I https://about.gitlab.com/images/organizations/logo_2e.svg
curl -H 'Accept-Encoding: gzip,deflate' -I https://about.gitlab.com/stylesheets/styles.css
curl -H 'Accept-Encoding: gzip,deflate' -I https://about.gitlab.com/javascripts/libs/jquery.min.js

CC// @marin