Posts

Showing posts with the label plesk-onyx

Node.js on Plesk showing default Plesk page

Node.js on Plesk showing default Plesk page I've created a new site in Node.js to host on my Plesk instance and I've set everything up, but the default plesk page is still showing. I've already tried a lot of things, but I can't seem to get it to work. Node.js app: function startServer(app, port, sslPort) { http.createServer(app).listen(port, () => { console.log('Server started'); console.log(`Listening on port ${port}`); }) } startServer(app, process.env.PORT || 8080); Note: app is an Expressjs instance. The git repo has been initialised and the files are showing up. NPM install worked just fine, no problem there Branch: development Additional deploy commands: npm install npm install When I check passenger with grep -r 'mod_passenger' /var/www/vhosts/system/domain.com/conf/ It returns passenger grep -r 'mod_passenger' /var/www/vhosts/system/domain.com/conf/ /var/www/vhosts/system/domain.com/conf/httpd.conf: ...