|
|
|
|
@ -37,8 +37,8 @@ http |
|
|
|
|
client_max_body_size 20m; |
|
|
|
|
|
|
|
|
|
# video big file opt |
|
|
|
|
aio threads; |
|
|
|
|
directio 4m; |
|
|
|
|
#aio threads; |
|
|
|
|
#directio 4m; |
|
|
|
|
output_buffers 16 512k; |
|
|
|
|
sendfile on; |
|
|
|
|
tcp_nopush on; |
|
|
|
|
@ -55,18 +55,18 @@ http |
|
|
|
|
fastcgi_temp_file_write_size 256k; |
|
|
|
|
fastcgi_intercept_errors on; |
|
|
|
|
|
|
|
|
|
zstd off; |
|
|
|
|
zstd_comp_level 6; |
|
|
|
|
zstd_min_length 256; |
|
|
|
|
zstd_types text/plain text/css text/xml text/javascript text/cache-manifest text/x-component text/vtt application/javascript application/json application/ld+json application/xml application/xhtml+xml application/rss+xml application/atom+xml application/manifest+json application/x-web-app-manifest+json application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf application/wasm font/opentype image/svg+xml image/bmp; |
|
|
|
|
|
|
|
|
|
brotli off; |
|
|
|
|
brotli_min_length 256; |
|
|
|
|
brotli_buffers 32 8k; |
|
|
|
|
brotli_comp_level 4; |
|
|
|
|
brotli_window 16m; |
|
|
|
|
brotli_static on; |
|
|
|
|
brotli_types text/plain text/css text/xml text/javascript text/x-component application/javascript application/x-javascript application/json application/xml application/rss+xml application/atom+xml application/vnd.ms-fontobject application/x-font-ttf application/x-font-opentype application/x-font-truetype font/tpl font/opentype font/otf font/ttf image/svg+xml image/x-icon image/vnd.microsoft.icon application/wasm application/manifest+json; |
|
|
|
|
#zstd off; |
|
|
|
|
#zstd_comp_level 6; |
|
|
|
|
#zstd_min_length 256; |
|
|
|
|
#zstd_types text/plain text/css text/xml text/javascript text/cache-manifest text/x-component text/vtt application/javascript application/json application/ld+json application/xml application/xhtml+xml application/rss+xml application/atom+xml application/manifest+json application/x-web-app-manifest+json application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf application/wasm font/opentype image/svg+xml image/bmp; |
|
|
|
|
|
|
|
|
|
#brotli off; |
|
|
|
|
#brotli_min_length 256; |
|
|
|
|
#brotli_buffers 32 8k; |
|
|
|
|
#brotli_comp_level 4; |
|
|
|
|
#brotli_window 16m; |
|
|
|
|
#brotli_static on; |
|
|
|
|
#brotli_types text/plain text/css text/xml text/javascript text/x-component application/javascript application/x-javascript application/json application/xml application/rss+xml application/atom+xml application/vnd.ms-fontobject application/x-font-ttf application/x-font-opentype application/x-font-truetype font/tpl font/opentype font/otf font/ttf image/svg+xml image/x-icon image/vnd.microsoft.icon application/wasm application/manifest+json; |
|
|
|
|
|
|
|
|
|
gzip on; |
|
|
|
|
gzip_min_length 1k; |
|
|
|
|
|