I’m serving a static site and a nodejs (express) api from the same machine (Ubuntu droplet on digital ocean). The node api is running locally on port 3000. I want to expose the api on a non-standard port.
When I run Caddy with the above file, it outputs messages to the effect that it is serving https on the custom port, but all requests to the custom port time out. Requests to the default port work as expected.