
【http, server, location】
subs_filter_types mime-type [mime-types];
[mime-types]: text/html text/css text/xml
*如果您反代出现登录跳转源站之类的问题,请检查这个项目。
subs_filter [source_str] [destination_str] [gior];
*用来替换文本的,可以使用正则
g: 替换匹配项(默认)。
i:区分大小写的匹配
o: 只匹配发现的第一个。
r: 正则。
proxy_set_header [item] ...