Click here to Skip to main content
15,868,164 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have deployed a nodejs application using nginx, pm2 and docker. The problem i am facing is that whenever i hit certain endpoints which certainly have some bug, whole of the server goes down giving 502 bad gateway.

What I have tried:

I tried making sure there are no endpoints which cause exceptions or anything that stops whole of the server from working.

Apologies for typing it all so naively, i could provide technicalities if asked.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900