Skip to content

Commit 46f95bf

Browse files
committed
bugfix: passed default mime/types value to zstd_types directive parser
1 parent 881dc27 commit 46f95bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngx_http_zstd_filter_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ static ngx_command_t ngx_http_zstd_filter_commands[] = {
131131
ngx_http_types_slot,
132132
NGX_HTTP_LOC_CONF_OFFSET,
133133
offsetof(ngx_http_zstd_loc_conf_t, types_keys),
134-
NULL },
134+
&ngx_http_html_default_types[0] },
135135

136136
{ ngx_string("zstd_buffers"),
137137
NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE2,

0 commit comments

Comments
 (0)