Introducing python virtualenv configuration.

New parameter 'home' for python application allows to configure
application-specific virtualenv path.

This closes #15 issue on GitHub.
This commit is contained in:
Max Romanov
2017-11-29 18:48:55 +03:00
parent ec4ad8780e
commit 3781950bad
4 changed files with 44 additions and 0 deletions

View File

@@ -118,6 +118,11 @@ static nxt_conf_vldt_object_t nxt_conf_vldt_python_members[] = {
NULL,
NULL },
{ nxt_string("home"),
NXT_CONF_STRING,
NULL,
NULL },
{ nxt_string("path"),
NXT_CONF_STRING,
NULL,
@@ -545,3 +550,5 @@ nxt_conf_vldt_group(nxt_conf_validation_t *vldt, char *group)
return NXT_ERROR;
}