Closed AlyoshaVasilieva closed 6 hours ago
Hello @AlyoshaVasilieva thank you for your feedback. Reading your logs I see panic: no alive address in InitAddress
so it can't reach the server. I think that's because you're setting Addr
in your configuration
block subdirective but it should be InitAddress
as mentioned in the official documentation but the cache-handler documentation is not updated. I'm sorry about that, I would appreciate a PR to update the doc, or I will have time to spend on it on the next week.
Closed by #92
log:
Redis is up and responds to redis-cli ping.
This is slightly minimized from a Caddyfile I use. It worked with whatever plugin version I had with caddy v2.7.6, but re-building with Caddy v2.8.4 and
cache-handler
v0.13.0 makes it usually panic on launch. (I think it's worked a couple times, but I can repeatedlysystemctl restart caddy
and have it be dead when I check its status.)Build is
xcaddy build --with github.com/caddyserver/cache-handler --with github.com/caddyserver/replace-response --with github.com/caddy-dns/scaleway --with github.com/caddy-dns/cloudflare
edit: Running on Debian 12.