mirror of
https://github.com/elyby/accounts.git
synced 2025-02-28 13:42:56 +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";
|
default "off";
|
||||||
}
|
}
|
||||||
|
|
||||||
# GZIP
|
# Gzip
|
||||||
gzip on;
|
gzip on;
|
||||||
gzip_comp_level 6;
|
gzip_comp_level 6;
|
||||||
gzip_min_length 256;
|
gzip_min_length 256;
|
||||||
gzip_proxied any;
|
gzip_proxied any;
|
||||||
gzip_vary on;
|
gzip_vary on;
|
||||||
gzip_types application/* font/* image/* text/*;
|
gzip_types *;
|
||||||
|
|
||||||
# Brotli
|
# Brotli
|
||||||
brotli on;
|
brotli on;
|
||||||
brotli_comp_level 6;
|
brotli_comp_level 6;
|
||||||
brotli_min_length 256;
|
brotli_min_length 256;
|
||||||
brotli_types application/* font/* image/* text/*;
|
brotli_types *;
|
||||||
|
|
||||||
include /etc/nginx/conf.d/*.conf;
|
include /etc/nginx/conf.d/*.conf;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user