过滤模块的位置
- 接收 http 头部 ->
- pre_access 阶段: -> limit_req 模块 -> limit_conn 模块 ->
- access 阶段: -> access 模块 auth_basic 模块
- content 阶段: -> concat 模块 -> static 模块 ->
- header 过滤模块: -> image_filter -> gzip ->
- -> 发送 http 头部->
- body 过滤模块: image_filter -> gzip ->
- -> 发送http 包体
返回响应-加工响应内容
- http 过滤模块:
- copy_filter: 复制包体内容
- postpont_filter: 处理子请求
- header_filter: 构造响应头部
- write_filter: 发送响应
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)