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:
parent
97aca2cad2
commit
a5e6513be3
@ -69,7 +69,10 @@ http {
|
|||||||
gzip_min_length 256;
|
gzip_min_length 256;
|
||||||
|
|
||||||
gzip_http_version 1.1;
|
gzip_http_version 1.1;
|
||||||
|
|
||||||
# Compress all output labeled with one of the following MIME-types.
|
# Compress all output labeled with one of the following MIME-types.
|
||||||
|
# text/html is always compressed by gzip module.
|
||||||
|
# Default: text/html
|
||||||
gzip_types
|
gzip_types
|
||||||
application/atom+xml
|
application/atom+xml
|
||||||
application/javascript
|
application/javascript
|
||||||
@ -95,7 +98,6 @@ http {
|
|||||||
text/vtt
|
text/vtt
|
||||||
text/x-component
|
text/x-component
|
||||||
text/x-cross-domain-policy;
|
text/x-cross-domain-policy;
|
||||||
# text/html is always compressed by gzip module
|
|
||||||
|
|
||||||
client_max_body_size 12m;
|
client_max_body_size 12m;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user