Redirect to external URL on error

Hello, I’m using Caddy v2 in Docker and I have TLS on demand which is working great. Is it possible to redirect to an external site if the domain is not allowed to be used?

No, it’s impossible to do anything if the TLS handshake fails. The browser will not trust anything the server tells it because it wasn’t able to establish a secure connection.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.