Skip to content

Commit

Permalink
Merge pull request #157 from snagles/develop
Browse files Browse the repository at this point in the history
Enable HTTPS config option when flag passed
  • Loading branch information
snagles authored Apr 4, 2018
2 parents fa8a352 + 3c51e1e commit 63b80e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 == "" {
Expand Down

0 comments on commit 63b80e3

Please sign in to comment.