summaryrefslogtreecommitdiffstats
path: root/busuanzi/data/busuanzi/config.yaml
blob: 7482c5cbc6dd405488362d81e20378ffa3a347df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Web:
  Address: 0.0.0.0:8080 # 监听地址
  Access-Control-Allow-Origin: "https://bsz.yourdomain.com" # 跨域访问
  Debug: false # 是否开启debug模式
  Log: true # 是否开启日志
Redis:
  Address: redis:6379 # redis地址
  Password:
  Database: 0
  Prefix: bsz     # redis前缀
  MaxIdle: 25     # 最大空闲连接数
  MaxActive: 100  # 最大连接数
Bsz:
  Expire: 2592000 # 统计数据过期时间 单位秒, 请输入整数 (无任何访问, 超过这个时间后, 统计数据将被清空, 0为不过期)
  JwtSecret: "bsz" # JWT签名密钥 // 请设置为任意长度的随机值