./confiture-test.sh
make mkdir
listen: src/core/ngx_cycle.c:618 src/core/ngx_connection.c:657
parse config file:
src/core/ngx_conf_file.c#ngx_conf_handler
commands: - core: ngx_core_commands ngx_core_conf_t - event: - http: ngx_http_core_module.c
modules: modules include commands
event: src/event/ngx_event.c:248
http: src/http/ngx_http_request.c:1526 src/http/ngx_http_request.c:2033 src/http/ngx_http_core_module.c:2499 src/http/ngx_http_core_module.c:1831 src/http/modules/ngx_http_headers_filter_module.c:248 src/os/unix/ngx_darwin_sendfile_chain.c:31 src/os/unix/ngx_darwin_sendfile_chain.c:135
- how nginx parse config file
- who nginx listen request
- data structure of nginx
PCRE: Perl Compatible Regular Expressions
apt install gdb gdb-multiarch