http:# HTTP(S) 重写,支持header、302、307、reject多种策略# url-rewrite:# - ^http://g\.cn https://www.google.com transparent# - ^https?://www\.google\.cn https://www.google.com 302 # 直接返回一个 302 重定向的响应# - ^https?://ad\.example - reject # 拒绝请求header-rewrite:- https?:\/\/(.*) request-add x-forwarded-for 173.52.219.64# - https?:\/\/(.*) request-replace x-forwarded-for 173.52.219.64- https?:\/\/(.*) request-add x-real-ip 173.52.219.64# - https?:\/\/(.*) request-replace x-real-ip 173.52.219.64- https?:\/\/(.*) request-add x-remote-ip 173.52.219.64# - https?:\/\/(.*) request-replace x-remote-ip 173.52.219.64- https?:\/\/(.*) request-add x-remote-addr 173.52.219.64# - https?:\/\/(.*) request-replace x-remote-addr 173.52.219.64- https?:\/\/(.*) request-add x-originating-ip 173.52.219.64# - https?:\/\/(.*) request-replace x-originating-ip 173.52.219.64