diff options
author | Oisin Canty <o.canty@f5.com> | 2021-05-06 14:22:21 +0000 |
---|---|---|
committer | Oisin Canty <o.canty@f5.com> | 2021-05-06 14:22:21 +0000 |
commit | b9d5eb285a2fca8b9b60d948acc679a5e16b3f94 (patch) | |
tree | 32dab8ccdef597e4daf50b3cffa74a3a2237607b /src/nxt_conf_validation.c | |
parent | e0a061955bba69aaf28022d405362c8a5e444ff6 (diff) | |
download | unit-b9d5eb285a2fca8b9b60d948acc679a5e16b3f94.tar.gz unit-b9d5eb285a2fca8b9b60d948acc679a5e16b3f94.tar.bz2 |
Static: implemented MIME filtering
Diffstat (limited to '')
-rw-r--r-- | src/nxt_conf_validation.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nxt_conf_validation.c b/src/nxt_conf_validation.c index ac1a81d8..1f654e53 100644 --- a/src/nxt_conf_validation.c +++ b/src/nxt_conf_validation.c @@ -457,6 +457,10 @@ static nxt_conf_vldt_object_t nxt_conf_vldt_share_action_members[] = { .name = nxt_string("share"), .type = NXT_CONF_VLDT_STRING, }, { + .name = nxt_string("types"), + .type = NXT_CONF_VLDT_STRING | NXT_CONF_VLDT_ARRAY, + .validator = nxt_conf_vldt_match_patterns, + }, { .name = nxt_string("fallback"), .type = NXT_CONF_VLDT_OBJECT, .validator = nxt_conf_vldt_action, |