Closed nkxingxh closed 1 year ago
Describe the bug 使用自定义配置文件,域名解析模式下不统计流量。
配置文件如下:
[common] server_addr=192.168.6.109:8024 conn_type=tcp remark= vkey=xxxxxxxxxxxxxx web_username= web_password= max_conn=256 rate_limit=2048 crypt=true compress=true auto_reconnection=true disconnect_timeout=60 [tcp] mode=tcp target_addr=192.168.6.3:80 server_port=10000 [https] host=example.com target_addr=127.0.0.1:443 scheme=https
注:example.com 为示例域名,实际场景使用的自己的域名,已指向 192.168.6.109
example.com
192.168.6.109
访问 http://example.com:10000 则正常统计流量
http://example.com:10000
访问 https://example.com 则不统计流量
https://example.com
已修复 https://github.com/yisier/nps/releases/tag/v0.26.16
Describe the bug 使用自定义配置文件,域名解析模式下不统计流量。
配置文件如下:
注:
example.com
为示例域名,实际场景使用的自己的域名,已指向192.168.6.109
访问
http://example.com:10000
则正常统计流量访问
https://example.com
则不统计流量