DashboardTLSMode Config Update
This commit is contained in:
parent
a76f4c5325
commit
b02c6caade
@ -84,8 +84,8 @@ func (svr *Service) RunDashboardServer(address string) (err error) {
|
||||
return err
|
||||
}
|
||||
|
||||
if svr.cfg.TLSOnly {
|
||||
go server.ServeTLS(ln, svr.cfg.TLSCertFile, svr.cfg.TLSKeyFile)
|
||||
if svr.cfg.DashboardTLSMode {
|
||||
go server.ServeTLS(ln, svr.cfg.DashboardTLSCertFile, svr.cfg.DashboardTLSKeyFile)
|
||||
} else {
|
||||
go server.Serve(ln)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user