Getting bad gateway on backend

Hello :wave:,

I'm running a rails application with backend and frontend on the same container images

I can navigate on backend whiteout any issues, but when I'm trying to reach the frontend (which need a very long warmup) I'm getting a 502 bad gateway.

How can I figure out if I need to increase a timeout somewhere ?
Is there a way to understand why this backend goes to unavailable when I'm tying to reach this endpoint ?