Skip to content

Commit

Permalink
osx
Browse files Browse the repository at this point in the history
  • Loading branch information
MayCXC committed Sep 26, 2024
1 parent 87ba4d0 commit c078da7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions caddyconfig/httpcaddyfile/tlsapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ func (st ServerType) buildTLSApp(
if autoHTTPS != "off" {
for _, pair := range pairings {
for _, sb := range pair.serverBlocks {
for _, addr := range sb.keys {
for _, addr := range sb.parsedKeys {
if addr.Host != "" {
continue
}
// this server block has a hostless key, now
// go through and add all the hosts to the set
for _, otherAddr := range sb.keys {
for _, otherAddr := range sb.parsedKeys {
if otherAddr.Original == addr.Original {
continue
}
Expand Down

0 comments on commit c078da7

Please sign in to comment.