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:
@@ -120,6 +120,12 @@ static nxt_conf_map_t nxt_common_app_conf[] = {
|
||||
offsetof(nxt_common_app_conf_t, workers),
|
||||
},
|
||||
|
||||
{
|
||||
nxt_string("home"),
|
||||
NXT_CONF_MAP_CSTRZ,
|
||||
offsetof(nxt_common_app_conf_t, u.python.home),
|
||||
},
|
||||
|
||||
{
|
||||
nxt_string("path"),
|
||||
NXT_CONF_MAP_STR,
|
||||
|
||||
Reference in New Issue
Block a user