roles/dspace: Update gzip_types formatting

From the H5BP project, see:

https://github.com/h5bp/server-configs-nginx/blob/master/nginx.conf
This commit is contained in:
Alan Orth 2017-11-14 12:44:56 +02:00
parent 97aca2cad2
commit a5e6513be3
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 3 additions and 1 deletions

View File

@ -69,7 +69,10 @@ http {
gzip_min_length 256;
gzip_http_version 1.1;
# Compress all output labeled with one of the following MIME-types.
# text/html is always compressed by gzip module.
# Default: text/html
gzip_types
application/atom+xml
application/javascript
@ -95,7 +98,6 @@ http {
text/vtt
text/x-component
text/x-cross-domain-policy;
# text/html is always compressed by gzip module
client_max_body_size 12m;