Skip to content

Commit

Permalink
Merge pull request #130 from ceph/feature/gzip-json
Browse files Browse the repository at this point in the history
Add `application/json` to gzip types, `mjs` MIME type update
  • Loading branch information
David Galloway authored May 27, 2021
2 parents 7b20638 + 8dc95e4 commit a6011bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ansible/roles/deploy/templates/site.j2
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ server {
# https://github.com/ceph/ceph.io/issues/101
include mime.types;
types {
application/javascript mjs;
text/javascript mjs;
}

# https://github.com/ceph/ceph.io/issues/104
gzip on;
gzip_types text/css text/javascript;
gzip_types application/json text/css text/javascript;
}


Expand Down Expand Up @@ -118,10 +118,10 @@ server {
# https://github.com/ceph/ceph.io/issues/101
include mime.types;
types {
application/javascript mjs;
text/javascript mjs;
}

# https://github.com/ceph/ceph.io/issues/104
gzip on;
gzip_types text/css text/javascript;
gzip_types application/json text/css text/javascript;
}

0 comments on commit a6011bb

Please sign in to comment.