Next 13.4.x deploy with health check?

Do we want to include Health Check Path for a next.js project?

Please advise.

Best,
Josh

Hi Montekaka.

I may be misunderstanding your question, but I deployed a new Next.js web service using Render’s Next.js Example Repo. I clicked on the web service instance, navigated to Settings > Health & Alerts, and saw the Health Check Path field. Hope this helps.

Hey,

You want to include a dedicated health check path for web services on Render, this is good practice to ensure your service’s health is monitored continuously.

Jérémy.
Render Support, UTC+3

1 Like

Added one to the project. /api/healthz. Does this look right to you? https://justcast.com/api/healthz

Hey,

There’s not much going on with a health check path to be honest, you should just set it to a dedicated URL like /health that you know should return a 200 response in all circumstances

https://render.com/docs/deploys#zero-downtime-deploys

Jérémy.
Render Support, UTC+3

1 Like

How about this one? JustCast

Sure, it doesn’t even have to be styled, what matters is what HTTP response we’re getting from it.

Jérémy.
Render Support, UTC+3

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