diff options
author | Valentin Bartenev <vbart@nginx.com> | 2017-07-06 22:52:05 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2017-07-06 22:52:05 +0300 |
commit | c9fbd832ab4f5743824b155fb3bf3a42206fdd52 (patch) | |
tree | c71a2e2b12c9d6d29d4a855d7a76b0abb6eade10 /src/nxt_conf_validation.c | |
parent | 22d73057d93bc5f363a981763348612058077159 (diff) | |
download | unit-c9fbd832ab4f5743824b155fb3bf3a42206fdd52.tar.gz unit-c9fbd832ab4f5743824b155fb3bf3a42206fdd52.tar.bz2 |
Controller: sending JSON configuration to router.
Diffstat (limited to 'src/nxt_conf_validation.c')
-rw-r--r-- | src/nxt_conf_validation.c | 5 |
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, |