caddyfile: Allow overriding server names (#5323)

This commit is contained in:
Francis Lavoie 2023-01-27 14:56:39 -05:00 committed by GitHub
parent e9d95ab29f
commit 7f2a93e6c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 114 additions and 2 deletions

View file

@ -706,7 +706,7 @@ func (st *ServerType) serversFromPairings(
err := applyServerOptions(servers, options, warnings)
if err != nil {
return nil, err
return nil, fmt.Errorf("applying global server options: %v", err)
}
return servers, nil