修改: conf.c
修改: conf.h 修改: conf/cproxy.ini 修改: conf/cproxy.ini.explain 修改: cproxy.h 修改: cproxy_help.h 修改: cproxy_request.c
This commit is contained in:
@@ -7,9 +7,14 @@ http_ip=10.0.0.172;
|
||||
http_port=80;
|
||||
http_del="x-online-host,X-Online-Host,host,Host";
|
||||
http_first="[M] [U] [V]\r\n.aixiao.me\rx-online-host: [host]\r\nhost: iread.wo.cn\r\n";
|
||||
strrep = "Mi MIX 2->Linux";
|
||||
;regrep = "host*.+?->host: iread.wo.cn";
|
||||
|
||||
[https]
|
||||
https_ip=10.0.0.172;
|
||||
https_port=80;
|
||||
https_del=",Host";
|
||||
;https_first="[M] [U] [V]\r\nHost: [host]:[port]\r\n";
|
||||
https_first="[M] iread.wo.cn//https://[host]:[port]:iread.wo.cn [V]\r\nHost: iread.wo.cn\r\n";
|
||||
strrep = "Mi MIX 2->Linux";
|
||||
regrep = "Host*.+?->Host: iread.wo.cn:443";
|
||||
@@ -5,4 +5,10 @@
|
||||
[U] 原请求url
|
||||
[V] 原请求协议版本
|
||||
[host] 原请求host
|
||||
[port] 原请求端口
|
||||
[port] 原请求端口
|
||||
|
||||
关键字strrep替换字符串指令
|
||||
strrep = "Mi MIX 2->Linux"; 以"->"为分界符,"Mi MIX 2"字符串替换为"Linux"字符串.
|
||||
|
||||
关键字regrep正则匹配替换字符串
|
||||
regrep = "Host*.+?->Host: iread.wo.cn:443"; 以"->"为分界符,匹配到的内容"Host*.+?"替换为"Host: iread.wo.cn:443"字符串.
|
||||
|
||||
Reference in New Issue
Block a user