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
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if svr.cfg.TLSOnly {
|
if svr.cfg.DashboardTLSMode {
|
||||||
go server.ServeTLS(ln, svr.cfg.TLSCertFile, svr.cfg.TLSKeyFile)
|
go server.ServeTLS(ln, svr.cfg.DashboardTLSCertFile, svr.cfg.DashboardTLSKeyFile)
|
||||||
} else {
|
} else {
|
||||||
go server.Serve(ln)
|
go server.Serve(ln)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user