trojan icon indicating copy to clipboard operation
trojan copied to clipboard

安装完成后,config.json中mysql部分的参数被替换

Open jjyou-github opened this issue 2 years ago • 0 comments

image ru'tu如图,原版trojan的配置文件如图,在申请证书之前,config.json中也是如此。trojan安装过程引用的的trojan/examples/server.json-example也是如此。 但是申请证书之后,参数变为如图的。而且cafile在trojan-go的文档说明中找不到。 image 才能有限,没能在你的脚本中找到替换的地方,建议如果替换,不妨考虑check_rate(trojan-go支持的参数),这个是定期去数据库更新用户信息(单位是秒)。即便新增删除用户后也不用重启trojan服务。

jjyou-github avatar Jun 01 '22 14:06 jjyou-github