From 1abdcfb2d85a04b27ac4fc52619b63917b980839 Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Mon, 9 Jul 2018 20:34:51 +0300 Subject: Controller: added "settings" configuration object. It has the following structure and default values: { "http": { "header_read_timeout": 30, "body_read_timeout": 30, "send_timeout": 30, "idle_timeout": 180, "max_body_size": 8388608 } } --- src/nxt_router.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nxt_router.c') diff --git a/src/nxt_router.c b/src/nxt_router.c index 9e71c3ec..d9df48ec 100644 --- a/src/nxt_router.c +++ b/src/nxt_router.c @@ -1297,7 +1297,7 @@ nxt_router_conf_create(nxt_task_t *task, nxt_router_temp_conf_t *tmcf, nxt_router_access_log_t *access_log; nxt_router_listener_conf_t lscf; - static nxt_str_t http_path = nxt_string("/http"); + static nxt_str_t http_path = nxt_string("/settings/http"); static nxt_str_t applications_path = nxt_string("/applications"); static nxt_str_t listeners_path = nxt_string("/listeners"); static nxt_str_t access_log_path = nxt_string("/access_log"); -- cgit