• 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.

Question Can't get angular ssr app to work in plesk

python

Regular Pleskian
These are the steps that I do at the end of the application with angular cli.

1- ng add @ nguniversal / express-engine

2- run compilation: ssr


This creates a directory for me called dir with two subdirectories that are browser and server.


These are the steps that I perform in plesk

1 - I install nodejs and the extension
2 - I upload the dir directory (created with angular click) to the httpdocs directory of my domain
3 - I configure nodejs with the extension

document root: httpdocs / myproject / browser
application root: httpdocs
application startup file: myproject / server / main.js

4 - restart nodejs

That's it, then I open the website in a browser and it works fine but doesn't render.
Maybe I am missing a step or something I am doing wrong.
 
Back
Top