Added Ruby support.

This commit is contained in:
Alexander Borisov
2018-03-21 16:50:07 +03:00
parent 778a90c319
commit 37051b6c15
11 changed files with 1534 additions and 1 deletions

View File

@@ -182,11 +182,21 @@ static nxt_conf_map_t nxt_perl_app_conf[] = {
};
static nxt_conf_map_t nxt_ruby_app_conf[] = {
{
nxt_string("script"),
NXT_CONF_MAP_STR,
offsetof(nxt_common_app_conf_t, u.ruby.script),
},
};
static nxt_conf_app_map_t nxt_app_maps[] = {
{ nxt_nitems(nxt_python_app_conf), nxt_python_app_conf },
{ nxt_nitems(nxt_php_app_conf), nxt_php_app_conf },
{ nxt_nitems(nxt_go_app_conf), nxt_go_app_conf },
{ nxt_nitems(nxt_perl_app_conf), nxt_perl_app_conf },
{ nxt_nitems(nxt_ruby_app_conf), nxt_ruby_app_conf },
};