Learning immediately: https://edu.csdn.net/course/play/27216/358401?utm_source=blogtoedu
The configuration file contains three modules:
The basis of a global module, events module, http module.
Global base module may configure global command log path, the PID paths, user information and the like.
events module may be configured network connection.
http module can be configured proxy, caching, logging definitions, log formats and third-party modules.
Third-party modules include:
1. HTTP Upstream Request Hash module
2. Notice module
3. HTTP Access Key Module