|
|
|
|
@ -55,6 +55,25 @@ http |
|
|
|
|
fastcgi_temp_file_write_size 256k; |
|
|
|
|
fastcgi_intercept_errors on; |
|
|
|
|
|
|
|
|
|
zstd on; |
|
|
|
|
zstd_comp_level 6; |
|
|
|
|
zstd_min_length 256; |
|
|
|
|
zstd_types text/plain text/css text/xml text/javascript text/cache-manifest |
|
|
|
|
text/vtt text/x-component 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 on; |
|
|
|
|
brotli_min_length 256; |
|
|
|
|
brotli_buffers 32 8k; |
|
|
|
|
brotli_comp_level 6; |
|
|
|
|
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; |
|
|
|
|
gzip_buffers 4 16k; |
|
|
|
|
@ -65,13 +84,6 @@ http |
|
|
|
|
gzip_proxied expired no-cache no-store private auth; |
|
|
|
|
gzip_disable "MSIE [1-6]\."; |
|
|
|
|
|
|
|
|
|
brotli on; |
|
|
|
|
brotli_min_length 256; |
|
|
|
|
brotli_buffers 32 8k; |
|
|
|
|
brotli_comp_level 6; |
|
|
|
|
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; |
|
|
|
|
|
|
|
|
|
limit_conn_zone $binary_remote_addr zone=perip:10m; |
|
|
|
|
limit_conn_zone $server_name zone=perserver:10m; |
|
|
|
|
|