I have multiple Node applications (build on Express framework).
Now I have placed them like this -
/var/www/app1
/var/www/a
You can use app.use():
app .use('/app1', require('./app1/index').app) .use('/app2', require('./app2/index').app) .listen(8080);