In a reverse proxy scenario I don't want Caddy to retry GET requests when an upstream has accepted the request from caddy. As far as I understood this is doable in Caddy by setting the following config:
"retry_match": [
{
"method": []
}
]
My problem is that, doing so, I get intermittent no upstreams available from Caddy. I've put a full repro on this repository.
As no upstreams available suggest that the error occurred before a connection was established to the upstream, and reading this comment, I don't get why the request is not retried.
In a reverse proxy scenario I don't want Caddy to retry GET requests when an upstream has accepted the request from caddy. As far as I understood this is doable in Caddy by setting the following config:
My problem is that, doing so, I get intermittent
no upstreams availablefrom Caddy. I've put a full repro on this repository.As
no upstreams availablesuggest that the error occurred before a connection was established to the upstream, and reading this comment, I don't get why the request is not retried.