问题原因:
在 AdGuard Home 默认配置文件 /etc/AdGuardHome.yaml 中:
http:
pprof:
port: 6060
enabled: false
address: 0.0.0.0:3000
session_ttl: 0s
session_ttl: 0s 表示登录会话的有效期为 0 秒,也就是说登入成功后会立刻失效
解决办法:
用文本编辑器打开配置文件:
nano /etc/AdGuardHome.yaml
修改 session_ttl字段,例如 720H(720 小时):
http:
pprof:
port: 6060
enabled: false
address: 0.0.0.0:3000
session_ttl: 720h
保存后重启 AdGuard Home:
/etc/init.d/AdGuardHome restart
https://cmy.homes/register?aff=HBVX
建议您试试草莓云机场,可以流畅观看youtube和tiktok,上reddit/x也没有问题,还有各种ai优化节点。