precontent 阶段的 mirror 模块
-
作用:实时拷贝流量; 处理请求时,生成子请求访问其他服务,对子请求的返回值不做处理;
-
ngx_http_mirror_module
模块;
-
默认编译进 Nginx, 通过 --without-http_mirror_module 移除模块:
-
mirror
:
- syntax: mirror uri| off;
- default: mirror off;
- context: http, server, location
-
mirror_request_body
:
- syntax: mirror_request_body on| off;
- default: mirror on;
- context: http, server, location
示例配置
server {
listen 10020
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)