Based on the port number being 8443, I assume the upstream is expecting an HTTPS request. Caddy’s reverse_proxy
makes HTTP requests by default.
Are you sure you need to use that port? Does your upstream app have an HTTP port?
See this article, you don’t need to proxy over HTTPS when the upstream is within the same network.
2 Likes