initial commit
This commit is contained in:
5
angie/conf/brotli/buffers.conf
Normal file
5
angie/conf/brotli/buffers.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
brotli_comp_level 5; # default: 6
|
||||
brotli_window 128k; # default: 512k
|
||||
|
||||
brotli_min_length 1024;
|
||||
brotli_buffers 32 16k;
|
9
angie/conf/brotli/types.conf.j2
Normal file
9
angie/conf/brotli/types.conf.j2
Normal file
@@ -0,0 +1,9 @@
|
||||
{%- set mime_types = j2cfg.compress_types or [] -%}
|
||||
{%- set mime_types = mime_types | any_to_str_list | uniq_str_list -%}
|
||||
{%- if mime_types -%}
|
||||
brotli_types
|
||||
{%- for t in mime_types %}
|
||||
{{ t }}
|
||||
{%- endfor %}
|
||||
;
|
||||
{%- endif -%}
|
Reference in New Issue
Block a user