...
|
...
|
@@ -21,11 +21,11 @@ func main() { |
|
|
//constant.DebugConfig()
|
|
|
|
|
|
//https
|
|
|
//beego.BConfig.Listen.EnableHTTPS = true
|
|
|
//beego.BConfig.Listen.Graceful = true
|
|
|
//beego.BConfig.Listen.HTTPSPort = 443
|
|
|
//beego.BConfig.Listen.HTTPSCertFile = "conf/_.fjmaimaimai.com_bundle.crt"
|
|
|
//beego.BConfig.Listen.HTTPSKeyFile = "conf/fjmaimaimai.com_RSA.fjmaimaimai.com_RSA.key"
|
|
|
beego.BConfig.Listen.EnableHTTPS = true
|
|
|
beego.BConfig.Listen.Graceful = true
|
|
|
beego.BConfig.Listen.HTTPSPort = 443
|
|
|
beego.BConfig.Listen.HTTPSCertFile = "conf/_.fjmaimaimai.com_bundle.crt"
|
|
|
beego.BConfig.Listen.HTTPSKeyFile = "conf/fjmaimaimai.com_RSA.fjmaimaimai.com_RSA.key"
|
|
|
|
|
|
err := redis.Init(config.Redis{
|
|
|
Addr: fmt.Sprintf("%v:%v", constant.REDIS_HOST, constant.REDIS_PORT),
|
...
|
...
|
|