summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_main_process.c
diff options
context:
space:
mode:
authorAlexander Borisov <alexander.borisov@nginx.com>2018-03-21 16:50:07 +0300
committerAlexander Borisov <alexander.borisov@nginx.com>2018-03-21 16:50:07 +0300
commit37051b6c15cce7d6ab01c50e1086f8ef0b34e93d (patch)
treed6f7fee987e795613c4088c7fa12709888d0a00e /src/nxt_main_process.c
parent778a90c319e47f688b749e43df33f3eb9dce3e72 (diff)
downloadunit-37051b6c15cce7d6ab01c50e1086f8ef0b34e93d.tar.gz
unit-37051b6c15cce7d6ab01c50e1086f8ef0b34e93d.tar.bz2
Added Ruby support.
Diffstat (limited to 'src/nxt_main_process.c')
-rw-r--r--src/nxt_main_process.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/nxt_main_process.c b/src/nxt_main_process.c
index f1f5d6d4..51303e5a 100644
--- a/src/nxt_main_process.c
+++ b/src/nxt_main_process.c
@@ -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 },
};