I have a DigitalOcean droplet for testing purposes and usually I deploy static websites, NodeJS APIs and Laravel projects and in order to get the Laravel and the NodeJS servers working in the same droplet, I need to set a different port for each one using Nginx and FirewallD to open the port.

Continue reading