SSL issue for shared certificate

Hey! I’m not really a Nix user so excuse my newbieness. My apps are automatically build with nixpacks on coolify.io.

One of my apps uses the hacker news API: https://hacker-news.firebaseio.com/v0/topstories.json

Running curl https://hacker-news.firebaseio.com/v0/topstories.json in the container built with nixpacks for my node app, returns this:

curl: (35) error:0A000126:SSL routines::unexpected eof while reading

(The node fetch code also fails but the error just says connection reset)

Running the same curl on the server (outside of the container) works fine. Any ideas on what I can do to fix this?