• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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