Revert "bind: support multiple values (#2128)"

This reverts commit 3a810c6502.
This commit is contained in:
Matthew Holt
2018-11-27 15:57:38 -07:00
parent 3a810c6502
commit b7091650f8
8 changed files with 38 additions and 114 deletions

View File

@@ -419,7 +419,7 @@ func (s *Server) serveHTTP(w http.ResponseWriter, r *http.Request) (int, error)
// we still check for ACME challenge if the vhost exists,
// because we must apply its HTTP challenge config settings
if caddytls.HTTPChallengeHandler(w, r, vhost.ListenHosts[0]) {
if caddytls.HTTPChallengeHandler(w, r, vhost.ListenHost) {
return 0, nil
}