summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_mem_map.c
diff options
context:
space:
mode:
authorLiam Crilly <liam.crilly@nginx.com>2023-10-02 09:43:57 +0100
committerLiam Crilly <liam.crilly@nginx.com>2023-10-02 09:43:57 +0100
commit7fac9087424e1f7c4b82bfb8426aca197f1f8904 (patch)
treefde233d23cffbdb0a2bcc4b63c2aeb5c69b67543 /src/nxt_mem_map.c
parentb6216f0bb7c4e10afcec00c6660644ff32db0dfb (diff)
downloadunit-7fac9087424e1f7c4b82bfb8426aca197f1f8904.tar.gz
unit-7fac9087424e1f7c4b82bfb8426aca197f1f8904.tar.bz2
Added routes array to the default configuration.
The default configuration previously contained just a listeners and applications object. Since routes is now a principle configuration object, and a recommended way of configurating Unit, it is now included in the default configuration. This change benefits new users because it explicitly introduces the three principle configuration objects which leads more intuitively to the documentation. Experienced users may choose to ignore or delete routes. routes is defined as an array instead of an object because this change is designed to assist new users, where the simpler form of routes is easier to understand.
Diffstat (limited to 'src/nxt_mem_map.c')
0 files changed, 0 insertions, 0 deletions