1- [ 简体中文] ( http://git.oschina.net/wujunze/nginx_module_echo/blob/master/README_zh.md )
2- # nginx_module_echo
1+ # Practical development Nginx
2+ ** [ 简体中文] ( http://git.oschina.net/wujunze/nginx_module_echo/blob/master/README_zh.md ) **
3+ ## nginx_module_echo
34echo string
45
5- # Nginx Version
6+ ## Nginx Version
67Nginx1.0.10 https://github.com/nginx/nginx/releases/tag/release-1.0.10
78![ image] ( https://wx1.sinaimg.cn/large/005LOzcmly1fgimmvpk3sj30mi04p3z9.jpg )
89
9- # The development environment configuration
10+ ## The development environment configuration
1011``` shell
1112OS : CentOS Linux release 7.2.1511 (Core)
1213```
1314![ image] ( https://wx4.sinaimg.cn/large/005LOzcmly1fgimnlvhh0j30s106imxw.jpg )
1415![ image] ( https://wx4.sinaimg.cn/large/005LOzcmly1fgimnlwy1fj315u0dwdhn.jpg )
1516
16- # Install a clean compile Nginx
17+ ## Install a clean compile Nginx
17181 . Download a Nginx10.10 and unpack it
1819![ image] ( http://wx2.sinaimg.cn/large/005LOzcmly1fgimq77ahwj30pw05et9n.jpg )
1920
@@ -29,7 +30,7 @@ OS : CentOS Linux release 7.2.1511 (Core)
2930![ image] ( https://wx3.sinaimg.cn/large/005LOzcmly1fgimy3dkk5j30rr05ddh5.jpg )
3031![ image] ( https://ws1.sinaimg.cn/large/005LOzcmly1fgimyc58d3j31vk0qsq9y.jpg )
3132
32- # Definition module configuration structure
33+ ## Definition module configuration structure
3334``` C
3435typedef struct {
3536 ngx_str_t ed; //该结构体定义在这里 https://github.com/nginx/nginx/blob/master/src/core/ngx_string.h
@@ -40,13 +41,13 @@ typedef struct {
4041#Define Nginx instruction and parameter conversion function
4142![ image] ( https://wx1.sinaimg.cn/large/005LOzcmly1fgjdis37udj30xj0bktan.jpg )
4243
43- # definition module Context
44+ ## definition module Context
44451 . Define the type of ngx_http_module_t structure variables
4546![ image] ( https://wx3.sinaimg.cn/large/005LOzcmly1fgjer4wtrxj313u09igo7.jpg )
46472 . Initialize a configuration structure
4748![ image] ( https://wx1.sinaimg.cn/large/005LOzcmly1fgjerqnq71j30zd08fmyd.jpg )
48493 . Will the father block configuration information incorporated into this structure Implement the configuration of inheritance
4950![ image] ( https://wx3.sinaimg.cn/large/005LOzcmly1fgjes12fy5j30ya08qgn7.jpg )
5051
51- #
52+ ## Write the Handler really work part of the module
5253![ image] ( https://ws2.sinaimg.cn/large/005LOzcmly1fgjfosnvf5j31hy0q6wlb.jpg )
0 commit comments