Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Heya,
The error # no live upstreams while connecting to upstream usually indicates an issue with the application rather than your Nginx configuration. Check your nodejs error logs to see what errors are displayed there and you’ll be able to track the issue.
Heya,
The error usually indicates that Nginx is unable to send the request to the node.js server. Here are a few things to check:
Make sure that your Node.js application is running correctly and accessible without any issues on localhost:3000.
If you’re in a Docker environment, replace localhost with the name of your Node.js container.
Add an additional line under your proxy_pass directive to handle proxy errors:
- proxy_next_upstream error timeout` `http_500 http_502 http_503 http_504;
You can find more about Nginx reverse proxy setup in our DigitalOcean tutorial: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-22-04
Hope that this helps!