-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.xml
45 lines (45 loc) · 1.23 KB
/
config.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?xml version="1.0" encoding="UTF-8" ?>
<config>
<!-- redis protocol server -->
<admin_server>0.0.0.0:6899</admin_server>
<!-- http[s] -->
<http_server>0.0.0.0:8899</http_server>
<http_ssl_cert></http_ssl_cert>
<http_ssl_key></http_ssl_key>
<http_static_root>/Users/xingqiba/workspace/go/fcgiProxy</http_static_root>
<!-- fastcgi 逗号分隔可以支持多个 -->
<fcgi_server>0.0.0.0:9000</fcgi_server>
<script_filename>/Users/xingqiba/workspace/go/fcgiProxy/test/proxy.php</script_filename>
<query_string><![CDATA[name=xingqiba&version=0.1.7]]></query_string>
<header_params>
<param>
<key>FcgiVersion</key>
<value>0.1.7</value>
</param>
</header_params>
<origins>*</origins>
<!-- logs http server -->
<logger>
<!-- empty is no encrypt -->
<rc4_encrypt_key>hello</rc4_encrypt_key>
<!-- record logs to mysql-->
<mysql>
<ip>127.0.0.1</ip>
<username>root</username>
<password>123456</password>
<port>3306</port>
<database>zwj2</database>
</mysql>
</logger>
<!-- qpush -->
<proxy>
<server>socks://127.0.0.1:8016</server>
</proxy>
<qpush>
<device>*,{name},{code}</device>
</qpush>
<apush>
<url>https://api.pushy.me/push?api_key={YOUR KEY}</url>
<device>*,{name},{token}</device>
</apush>
</config>