• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Plesk extension: NodeJS

Azurel

Silver Pleskian
TITLE:
Plesk extension: NodeJS
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Plesk Onyx Version 17.5.3 Update #20
CentOS Linux 7.3.1611 (Core)‬
PROBLEM DESCRIPTION:
I installed extension nodejs and go to nodejs for a domain.

First question here is... is this nodejs extension a generally SUPPORT or a special case that a domain will run only as nodejs application, instead of apache(PHP)?

Docu: Node.js Support

#1
In your tutorial video there is no "document root" setting Node.js Support and I not understand this rule :
Document Root. Here you can set the domain's document root directory, which must be a subdirectory of the application root directory, specified below.
This setting make no sense for me, when I only want a nodejs interface. Like communicate with Discord nodejs API or as Websocket for user notifications. In your tutorial video looks fine and logical. What happen here, why this difference?


#2
Because I not will change the folder struct for nodejs, I set:

Node.js Version: 7.4.0
Document Root: /httpdocs
Application Mode: production
Application URL: Example Domain
Application Root: /
Application Startup File: app.js

After Enable NodeJS, the Domain is not accessible anymore. I get a nginx error with "504 Gateway Time-out". So I think that extension is really only for nodejs only?


#3
The "Application URL" use HTTP, but I use letsencrypt exentsion and this domain is only accessible as HTTPS. I don't understand why Application URL here is needed.


#4
Is here not a port needed? So I know which port I can listen?​
STEPS TO REPRODUCE:
Install nodejs extension​
ACTUAL RESULT:
nodejs not working​
EXPECTED RESULT:
Create a Interface to communicate with website and other API.​
ANY ADDITIONAL INFORMATION:
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug
 
Back
Top