Cloud Web + pm2, configuration du moteur d'execution
... / Cloud Web + pm2, configur...
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

Cloud Web + pm2, configuration du moteur d'execution

by
JeremieS5
Created on 2022-05-20 07:03:37 (edited on 2024-09-04 11:40:31) in Hébergement Cloud Web

Bonjour,
Après pas mal de recherche infructueuse, je me résout à demander de l'aide.

J'ai donc un hébergement Cloud Web 1. J'ai installé sur mon serveur pm2, je l'utilise pour déployer et executer mon app en Remix.run (équivalent de nextJS)

Mon application est bien déployée et tourne sur le port 3000 sur le serveur, mais dans les paramètres de mon moteur d'execution, je n'ai pas de "Script de lancement de l'application" vu que mon serveur est lancé par pm2 en ssh. J'ai donc mis un fichier JS avec juste un console.log("hello")

Quand je me rend sur l'url de mon site, je tombe sur l'écran "Error starting web application"
Que faire pour aller chercher le contenu du port 3000 ?

Merci.