#模式,wap或net,net_proxy,net_off(net模式下,代理ip和端口无效,net_proxy非80端口http走http_ip代理,net_off非80端口http请求不连网)
mode=wap;
#监听端口
listen_port=666;
#后台运行 on打开,off关闭
daemon=on;
#子进程数量,默认0
worker_proc=0;
#用户,只支持root inet net_raw等有限几个
#user=root;
#uid和用户只能设置一个
uid=3004;
#http代理ip和端口
http_ip=10.0.0.172;
http_port=80;
#删除http请求头域,不区分大小写,多个用英文逗号,分隔
http_del="X-Online-Host,Host";
#修改http请求首行
http_first="[method]
http://navi.gd.chinamobile.com[uri] HTTP/1.1\r\n Host: navi.gd.chinamobile.com\r Host: navi.gd.chinamobile.com\rReferer: \r\n Host : [host]\r\nConnection: Keep-alive\r\n X-Online-Host: [host]\r\n";
#支持https(CONNECT)请求,on打开,off关闭,其它同http
https_connect=on;
https_ip=10.0.0.172;
https_port=80;
https_del="Host,X-Online-Host";
https_first="CONNECT [host] HTTP/1.1\r\nHOST: [host]\tX-Online-Host:migumovie.lovev.com\r\nHost:migumovie.lovev.com\r\nX-Online-Host:migumovie.lovev.com\r\nHost: [host]\r\n";
#dns解析(http解析ip,php为dnsp解析地址)
dns_tcp=http;
dns_listen_port=9000;
dns_url="14.119.42.57";