{"group":"eolinker.com","project":"apinto","name":"proxy_mirror","version":"innert","render":{"type":"object","eo:type":"object","properties":{"addr":{"type":"string","eo:type":"string","description":"镜像服务地址, 需要包含scheme","label":"服务地址"},"host":{"type":"string","eo:type":"string","description":"指定上游请求的host，只有在 转发域名 配置为 rewrite 时有效","switch":"pass_host==='rewrite'","label":"新host"},"pass_host":{"type":"string","eo:type":"string","description":"请求发给上游时的 host 设置选型，pass:将客户端的 host 透传给上游，node:使用addr中配置的host，rewrite:使用下面指定的host值","enum":["pass","node","rewrite"],"default":"pass","label":"转发域名"},"sample_conf":{"type":"object","eo:type":"object","properties":{"random_pivot":{"type":"integer","eo:type":"integer","format":"int32","label":"随机数锚点"},"random_range":{"type":"integer","eo:type":"integer","format":"int32","label":"随机数范围"}},"ui:sort":["random_range","random_pivot"],"label":"采样配置"},"timeout":{"type":"integer","eo:type":"integer","format":"int32","label":"请求超时时间"}},"ui:sort":["addr","sample_conf","timeout","pass_host","host"]}}