ngx_http_mirror_module模块
实时流量拷贝,precontent阶段的mirror模块
默认编译进nginx模块,通过--without-ngx_http_mirror_module禁用模块
功能:
创造一份镜像流量,生产环境中处理一些请求,把他们同步的复制一份到测试环境中或者开发环境中做处理
1.mirror指令
mirror uri | off
默认:mirror off;
放置位置:http,server,location
2.mirror_request_body指令
mirror_request_body on | off
默认:mirror_request_body on;
放置位置:http,server,location
357



被折叠的 条评论
为什么被折叠?



