Azurel
Silver Pleskian
I have in plesk onyx the extension nodejs installed. Now for one domain I want use it. Maybe for more.
- After enable nodejs, domain is not accessible and get a "504 Gateway Time-out"
- I don't understand "document root" in nodejs. "httpdocs" is the default document root of a domain. why I must change this and application folder will be the parent of httpdocs?! In your video there is no document root Node.js Support and folder is uploaded in vhost root of the domain.
- How I can add more node apps for one domain? Create a master.js and include every needed js?
- How I can test the app.js is working?
- For what is applicaion url? Its generate a HTTP url, but my domain is HTTPS
- How I install needed depenencies for npm like "winston"?
Solution; Insert in package.json and click on "install npm"-button
- After enable nodejs, domain is not accessible and get a "504 Gateway Time-out"
- I don't understand "document root" in nodejs. "httpdocs" is the default document root of a domain. why I must change this and application folder will be the parent of httpdocs?! In your video there is no document root Node.js Support and folder is uploaded in vhost root of the domain.
- How I can add more node apps for one domain? Create a master.js and include every needed js?
- How I can test the app.js is working?
- For what is applicaion url? Its generate a HTTP url, but my domain is HTTPS
- How I install needed depenencies for npm like "winston"?
Solution; Insert in package.json and click on "install npm"-button
Last edited: