diff options
author | Max Romanov <max.romanov@nginx.com> | 2020-09-18 13:41:58 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2020-09-18 13:41:58 +0300 |
commit | f16ae01b12e612701f44c028f188d1ded58d0358 (patch) | |
tree | 4f27231e1e7fdebfa7df9b7c07eb183fa4d82b07 /src/nxt_conf_validation.c | |
parent | 6b9882fc142cab4a15a272991096ef4db260bf0f (diff) | |
download | unit-f16ae01b12e612701f44c028f188d1ded58d0358.tar.gz unit-f16ae01b12e612701f44c028f188d1ded58d0358.tar.bz2 |
Python: app module callable name configuration.
Now it is possible to specify the name of the application callable using
optional parameter 'callable'. Default value is 'application'.
This closes #290 issue on GitHub.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_conf_validation.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nxt_conf_validation.c b/src/nxt_conf_validation.c index 9dd4f715..4364057b 100644 --- a/src/nxt_conf_validation.c +++ b/src/nxt_conf_validation.c @@ -773,6 +773,12 @@ static nxt_conf_vldt_object_t nxt_conf_vldt_python_members[] = { NULL, NULL }, + { nxt_string("callable"), + NXT_CONF_VLDT_STRING, + 0, + NULL, + NULL }, + NXT_CONF_VLDT_NEXT(&nxt_conf_vldt_common_members) }; |