1 Star 0 Fork 0

wenboon / gintest

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
config.ini 972 Bytes
一键复制 编辑 原始数据 按行查看 历史
wenboon 提交于 2021-05-30 21:41 . 配置文件添加域名绑定
[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
1
https://gitee.com/wenboon/gintest.git
git@gitee.com:wenboon/gintest.git
wenboon
gintest
gintest
master

搜索帮助