summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conf_validation.c
diff options
context:
space:
mode:
authorAxel Duch <axel.duch@nginx.com>2019-12-24 13:59:58 +0000
committerAxel Duch <axel.duch@nginx.com>2019-12-24 13:59:58 +0000
commit1a76371499d60856e000bd560a30389ad442b13a (patch)
treed212623e9fe0aef1c895f5cb1d22ba09ab00d039 /src/nxt_conf_validation.c
parentee8fa5d46707d92ed2fbdee193b1ea32281716b1 (diff)
downloadunit-1a76371499d60856e000bd560a30389ad442b13a.tar.gz
unit-1a76371499d60856e000bd560a30389ad442b13a.tar.bz2
Router: introducing routing on listener address.
Diffstat (limited to '')
-rw-r--r--src/nxt_conf_validation.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nxt_conf_validation.c b/src/nxt_conf_validation.c
index cbccbade..5a1f7839 100644
--- a/src/nxt_conf_validation.c
+++ b/src/nxt_conf_validation.c
@@ -294,6 +294,11 @@ static nxt_conf_vldt_object_t nxt_conf_vldt_match_members[] = {
&nxt_conf_vldt_match_addrs,
NULL },
+ { nxt_string("destination"),
+ NXT_CONF_VLDT_STRING | NXT_CONF_VLDT_ARRAY,
+ &nxt_conf_vldt_match_addrs,
+ NULL },
+
{ nxt_string("uri"),
NXT_CONF_VLDT_STRING | NXT_CONF_VLDT_ARRAY,
&nxt_conf_vldt_match_patterns,