代码拉取完成,页面将自动刷新
[default]
#模式debug开发模式 release发布模式
mode=debug
[domain]
g1 = admin.gejinnet.com
g2 = api.gejinnet.com
g3 = www.gejinnet.com
[db]
#数据库
#open是否开启,true开启,false不开启
#host数据库地址,port端口,user用户名,pass密码,base数据库
open = true
host = 127.0.0.1
port = 3306
user = root
pass = root
base = gintest
[cert]
#证书
#force true/false 强制https
#crt和key分别对应证书文件名,以逗号分割。crt和key的文件名顺序保持一致
force = false
crt=./cert/_.gejinnet.com_chain.crt,cert/_.gejinnet.xyz_chain.crt
key=./cert/_.gejinnet.com_key.key,cert/_.gejinnet.xyz_key.key
[token]
#使用redis方式,必须先设置redis的open=true
#boltdb/redis/memory
type = memory
#秒
expire = 2592000
[redis]
#是否开启
open = false
host = 127.0.0.1
port = 6379
pass =
[consul]
open=false
host=172.17.0.2
port=8500
[rclient]
#开启此项必须设置consul并且consul的open=true
open=false
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。