Skip to content

Commit

Permalink
Fixed certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars committed Sep 11, 2023
1 parent e68b203 commit e1174cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,9 @@ func main() {

tlsc = &tls.Config{
ServerName: config.Server.Host,
Certificates: []tls.Certificate{
tlsCert,
},
NameToCertificate: map[string]*tls.Certificate{
config.Server.Host: &tlsCert,
},
Expand Down

0 comments on commit e1174cc

Please sign in to comment.