Search code examples
node.jsadonis.jscyber-panel

How to setup a Adonis js app in CyberPanel


I’m having trouble loading the application. When accessing the subdomain an infinite load is shown and nothing happens.

I tried to use several available tutorials and still without success

SSL work Migration Work

See below

I’m use AdonisJs

context / {

type appserver

location /home/dominio.com/aplicativo

binPath /usr/bin/node

appType node

startupFile server.js

maxConns 100

rewrite {

}

addDefaultCharset off

}

ThankYou


Solution

  • It worked with using PM2 to run the app and I made a proxy to forward the port.