Merge pull request #459 from munnerz/http-aborb-errors
Absorb HTTP client errors in acme http self check
This commit is contained in:
commit
dcb8108660
@ -113,7 +113,8 @@ func testReachability(ctx context.Context, domain, path, key string) (bool, erro
|
||||
|
||||
response, err := http.Get(url.String())
|
||||
if err != nil {
|
||||
return false, err
|
||||
// absorb http client errors
|
||||
return false, nil
|
||||
}
|
||||
|
||||
if response.StatusCode != http.StatusOK {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user