成长值: 345 签到天数: 4740 天 [LV.Master]伴坛终老
|
发表于 2019/3/13 22:42
|
显示全部楼层
|Google Chrome 72.0.3626.121 |Windows 10
也可以直接写入config.xml最下方,例如同时开启https ssl证书访问支持服务
- </vhs>
- <!--vh start-->
- <vh name='itzmx.com' doc_root='cdn_home' log_file='/nolog' log_rotate_time='*/30 * * * *' log_handle='off' inherit='on' user='9999' group='1100' app='1' access='itzmx.com.access.xml' fflow='1' certificate='itzmx.com.server.crt' certificate_key='itzmx.com.server.key' http2='1'>
- <bind>!*:443s</bind>
- <bind>!*:80</bind>
- <host dir='server://proto=http/error_count=1/error_try_time=30/nodes=123.123.123.123:80:10:1,123.123.123.124:80:10:1;itzmx.com_cdn.itzmx.com.server.crt|itzmx.com_cdn.itzmx.com.server.key'>cdn.itzmx.com</host>
- </vh>
- <vh name='baidu.com' doc_root='cdn_home' log_file='/nolog' log_rotate_time='*/30 * * * *' log_handle='off' inherit='on' user='9999' group='1100' app='1' access='baidu.com.access.xml' fflow='1' certificate='baidu.com.server.crt' certificate_key='baidu.com.server.key' http2='1'>
- <bind>!*:443s</bind>
- <bind>!*:80</bind>
- <host dir='server://proto=http/error_count=1/error_try_time=30/nodes=1.2.3.3:80:10:1,1.2.3.4:80:10:1'>mod.baidu.com</host>
- <host dir='server://proto=http/error_count=1/error_try_time=30/nodes=1.1.1.1:80:10:1|proto=http/error_count=1/error_try_time=30/nodes=1.1.1.1:443s:10:1;baidu.com_static.baidu.com.server.crt|baidu.com_static.baidu.com.server.key'>static.baidu.com</host>
- <host dir='server://proto=http/error_count=1/error_try_time=30/nodes=1.2.5.8:80:10:1,1.2.5.9:80:10:1;baidu.com_coral.baidu.com.server.crt|baidu.com_coral.baidu.com.server.key'>coral.baidu.com</host>
- </vh>
- <!--vh end-->
复制代码 |
|