Basic support for serving static files.

This commit is contained in:
Valentin Bartenev
2019-09-19 02:47:09 +03:00
parent c554941b4f
commit 08a8d1510d
12 changed files with 953 additions and 29 deletions

View File

@@ -38,9 +38,13 @@ typedef struct {
typedef struct {
uint32_t count;
uint32_t threads;
nxt_mp_t *mem_pool;
nxt_router_t *router;
nxt_http_routes_t *routes;
nxt_mp_t *mem_pool;
nxt_lvlhsh_t mtypes_hash;
nxt_router_access_log_t *access_log;
} nxt_router_conf_t;