summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conf_validation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_conf_validation.c')
-rw-r--r--src/nxt_conf_validation.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nxt_conf_validation.c b/src/nxt_conf_validation.c
index 7e1da709..bae3efbd 100644
--- a/src/nxt_conf_validation.c
+++ b/src/nxt_conf_validation.c
@@ -1164,6 +1164,10 @@ static nxt_conf_vldt_object_t nxt_conf_vldt_compress_members[] = {
}, {
.name = nxt_string("min_length"),
.type = NXT_CONF_VLDT_INTEGER,
+ }, {
+ .name = nxt_string("mime_types"),
+ .type = NXT_CONF_VLDT_STRING | NXT_CONF_VLDT_ARRAY,
+ .validator = nxt_conf_vldt_match_patterns,
},
NXT_CONF_VLDT_END