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.
In order to serve static files from the Node Droplet, you would need to set up a web server on it as well. For instance, using Nginx, your configuration might look something like:
server {
listen private.ipaddr:8080;
server_name assets.domain.com;
root /var/www/app/public;
# You'd likely want to include some caching rules as well.
}
This will serve the static assets via your private IP address on port 8080. Then on your Nginx proxy Droplet, you could add a new location block like:
location ^~ /assets/ {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass 10.132.61.120:8080;
}
This directs all request for domain.com/assets to the Node Droplet’s /var/www/app/public directory. Depending on how you’ve named things, you may need to tweak the paths, but hopefully this points you in the right direction!