summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conf_validation.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2017-07-06 22:52:05 +0300
committerValentin Bartenev <vbart@nginx.com>2017-07-06 22:52:05 +0300
commitc9fbd832ab4f5743824b155fb3bf3a42206fdd52 (patch)
treec71a2e2b12c9d6d29d4a855d7a76b0abb6eade10 /src/nxt_conf_validation.c
parent22d73057d93bc5f363a981763348612058077159 (diff)
downloadunit-c9fbd832ab4f5743824b155fb3bf3a42206fdd52.tar.gz
unit-c9fbd832ab4f5743824b155fb3bf3a42206fdd52.tar.bz2
Controller: sending JSON configuration to router.
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 fd92020b..4863d163 100644
--- a/src/nxt_conf_validation.c
+++ b/src/nxt_conf_validation.c
@@ -59,6 +59,11 @@ static const nxt_conf_vldt_object_t nxt_conf_application_members[] = {
&nxt_conf_vldt_app_type,
NULL },
+ { nxt_string("workers"),
+ NXT_CONF_INTEGER,
+ NULL,
+ NULL },
+
{ nxt_string("path"),
NXT_CONF_STRING,
NULL,