Introducing working_directory directive for applications.

This commit is contained in:
Max Romanov
2017-09-05 10:22:44 -07:00
parent db6d2b9687
commit f1685e371f
4 changed files with 36 additions and 0 deletions

View File

@@ -80,6 +80,11 @@ static nxt_conf_vldt_object_t nxt_conf_vldt_python_members[] = {
NULL,
NULL },
{ nxt_string("working_directory"),
NXT_CONF_STRING,
NULL,
NULL },
{ nxt_string("path"),
NXT_CONF_STRING,
NULL,
@@ -115,6 +120,11 @@ static nxt_conf_vldt_object_t nxt_conf_vldt_php_members[] = {
NULL,
NULL },
{ nxt_string("working_directory"),
NXT_CONF_STRING,
NULL,
NULL },
{ nxt_string("root"),
NXT_CONF_STRING,
NULL,
@@ -155,6 +165,11 @@ static nxt_conf_vldt_object_t nxt_conf_vldt_go_members[] = {
NULL,
NULL },
{ nxt_string("working_directory"),
NXT_CONF_STRING,
NULL,
NULL },
{ nxt_string("executable"),
NXT_CONF_STRING,
NULL,