diff --git a/app/main.go b/app/main.go index b4f0b9c..0aeca23 100755 --- a/app/main.go +++ b/app/main.go @@ -84,6 +84,7 @@ func main() { // set http port if enableHTTPS { + beego.BConfig.Listen.EnableHTTPS = true beego.BConfig.Listen.HTTPSPort = appPort // make sure we have both key and cert if keyPath == "" {