Caddy Redirect On Error

Hello,

I am running Caddy v2 in Docker. I have on demand TLS setup and primarily using Caddy as a reverse proxy. Everything works amazing other than one thing I’m struggling to get working.

Is it possible to redirect to an external page if the domain is not allowed?