mirror of
https://github.com/caddyserver/caddy.git
synced 2026-07-10 02:46:54 +00:00
Revert "bind: support multiple values (#2128)"
This reverts commit 3a810c6502.
This commit is contained in:
parent
3a810c6502
commit
b7091650f8
8 changed files with 38 additions and 114 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue