CDLUC3 / dmsp_frontend_prototype

Repo to test out new NextJS framework
MIT License
0 stars 0 forks source link

added healthcheck page for the application load balancer #46

Closed briri closed 1 month ago

briri commented 1 month ago

The AWS load balancer requires a health check. The current homepage returns a 500 at the moment, so the ALB will not direct traffic to nextJS.

I have added a simple health check page here. I tried to override the default layout, so that it just returns something very simple like <html><body>Ok</body></html> but couldn't figure out how to do that.

Once this is merged to development, it should auto-deploy to ECS and the site should become available

jupiter007 commented 1 month ago

Thanks @briri. That makes sense to me to have a placeholder health check page for now.