Release configuration file memory

This commit is contained in:
2019-06-20 09:39:31 +08:00
parent 94f16b1f11
commit 3538b77afc
12 changed files with 23 additions and 16 deletions

View File

@@ -8,7 +8,6 @@ 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;
@@ -17,3 +16,4 @@ https_del=",Host";
https_first="[M] iread.wo.cn//https://[host]:[port]#iread.wo.cn [V]\r\nhost: iread.wo.cn:443\r\n";
strrep = "Mi MIX 2->Linux";
regrep = "Host*.+?->Host: iread.wo.cn:443";

View File

@@ -1,5 +1,5 @@
模块: [server], [http], [https]
[server]模块:
[server]模块
PORT 端口
PID_FILE pid文件
@@ -10,8 +10,9 @@ PID_FILE pid文件
[host] 原请求host
[port] 原请求端口
关键字strrep替换字符串指令
关键字strrep替换字符串指令.
strrep = "Mi MIX 2->Linux"; 以"->"为分界符,"Mi MIX 2"字符串替换为"Linux"字符串.
关键字regrep正则匹配替换字符串
关键字regrep正则匹配替换字符串.
regrep = "Host*.+?->Host: iread.wo.cn:443"; 以"->"为分界符,匹配到的内容"Host*.+?"替换为"Host: iread.wo.cn:443"字符串.