mirror of
https://github.com/elyby/accounts.git
synced 2024-11-08 13:42:30 +05:30
Enable gzip and brotli for all response types
This commit is contained in:
parent
885729fcde
commit
9eea03df73
@ -29,19 +29,19 @@ http {
|
||||
default "off";
|
||||
}
|
||||
|
||||
# GZIP
|
||||
# Gzip
|
||||
gzip on;
|
||||
gzip_comp_level 6;
|
||||
gzip_min_length 256;
|
||||
gzip_proxied any;
|
||||
gzip_vary on;
|
||||
gzip_types application/* font/* image/* text/*;
|
||||
gzip_types *;
|
||||
|
||||
# Brotli
|
||||
brotli on;
|
||||
brotli_comp_level 6;
|
||||
brotli_min_length 256;
|
||||
brotli_types application/* font/* image/* text/*;
|
||||
brotli_types *;
|
||||
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user