Skip to content

Commit

Permalink
fix: use the WebUI cert and key file for web proxy service
Browse files Browse the repository at this point in the history
We should use the WebUI cert and key file for web proxy service.

Signed-off-by: Dien Nguyen <[email protected]>
  • Loading branch information
dthnguyen authored and zhaojh329 committed Jan 31, 2025
1 parent 13bc09c commit 3840811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ func listenHttpProxy(brk *broker) {
}

if cfg.WebUISslCert != "" && cfg.WebUISslKey != "" {
crt, err := tls.LoadX509KeyPair(cfg.SslCert, cfg.SslKey)
crt, err := tls.LoadX509KeyPair(cfg.WebUISslCert, cfg.WebUISslKey)
if err != nil {
log.Fatal().Msg(err.Error())
}
Expand Down

0 comments on commit 3840811

Please sign in to comment.