1
0
This commit is contained in:
Konstantin Demin 2024-05-06 16:58:58 +03:00
parent 9ddcbbdccc
commit 324dded6d2
Signed by: krd
GPG Key ID: 1F33CB0BA4731BC6
4 changed files with 28 additions and 0 deletions

24
conf.avail/http-zstd.conf Normal file
View File

@ -0,0 +1,24 @@
zstd on;
## default is 1
zstd_comp_level 2;
zstd_min_length 1024;
zstd_buffers 32 16k;
zstd_types
application/atom+xml
application/javascript
application/json
application/vnd.api+json
application/rss+xml
application/x-javascript
application/xhtml+xml
application/xml
image/svg+xml
image/x-icon
text/css
text/javascript
text/plain
text/xml
;

1
conf.d/http-zstd.conf Symbolic link
View File

@ -0,0 +1 @@
../conf.avail/http-zstd.conf

2
mod.avail/http-zstd.conf Normal file
View File

@ -0,0 +1,2 @@
load_module modules/ngx_http_zstd_filter_module.so;
load_module modules/ngx_http_zstd_static_module.so;

1
mod.d/http-zstd.conf Symbolic link
View File

@ -0,0 +1 @@
../mod.avail/http-zstd.conf