Yeah, if you wanted to make use of SSL if you have it setup you would want to move those ‘location’ blocks into the nginx conf section that manages that 👍
Dear Codebubb, The first thank big for you. I had problems. - after install nodejs, npm, pm2 - when i action: pm2 list -->Spawning PM2 daemon with pm2_home=/home/vietk/.pm2 and pm2 start app.js -->Spawning PM2 daemon with pm2_home=/home/vietk/.pm2 --> it can not show table as you was worked. I had tried many method( install Os Ubuntu 22.04 , install nodejs..., but it still have problems as above Can you and everybody help me! Thnak you so much.
Hi, how did you install pm2? It could be it was installed with elevated privileges (root?) and then you're running it as another user? Try sudo pm2 list and see if you still get the error.
Did you try it as root? Are you able to run any other node stuff on your server? Try running with debug to see if there is any more info: DEBUG=* pm2 list Also, check your disk isn't full and also check the permissions/ownership of your pm2 module e.g. ls -alh /usr/local/lib/node_modules/pm2 (or wherever your global node_modules are).
Thank you. No fluff, clear instructions. Got it running on the first try.
Cheers! Glad you got it working. I hate fluff 🤣
Quick, concise, and clear! Thank you heaps
Thanks very much. Hope it helped you out.
your the man. thank you for this wonderful video.
Exactly what I needed thanks!
Very clear explanation, thanks a lot.
You’re welcome. Hope it helps you out.
This is a great topic. All apps seem to run on port 80
Yeah, if you wanted to make use of SSL if you have it setup you would want to move those ‘location’ blocks into the nginx conf section that manages that 👍
Hey James,
Thanks a lot for creating this video.
You’re welcome! Hope it answered your question (let me know if not!).
THANKYOUU SO MUCHHH!!🤩🤩🤩🤩🤩🤩
Thanks, this is clean and simple
On the page with text descriptions..
Change to this:
sudo systemctl reload nginx
Since this sudo "sudo systemctl nginx reload" give an error.
Thank a lot for your video!
Thanks so much for this - i'll update it!
wasn't working for me until I put the / at the end of my proxypass -_-
Thanks bro. Do you know why is that ?
@@blockchainandweb3120no idea
Thank you. So glad to see this comment. I've been spending hours to figure out the issue only to come across your solution that works
thanks bro, this also worked for me, i wasted a lot of energy on just a slash '/' dang
Dear Codebubb,
The first thank big for you.
I had problems.
- after install nodejs, npm, pm2
- when i action: pm2 list -->Spawning PM2 daemon with pm2_home=/home/vietk/.pm2
and pm2 start app.js -->Spawning PM2 daemon with pm2_home=/home/vietk/.pm2 --> it can not show table as you was worked.
I had tried many method( install Os Ubuntu 22.04 , install nodejs..., but it still have problems as above
Can you and everybody help me!
Thnak you so much.
Hi, how did you install pm2? It could be it was installed with elevated privileges (root?) and then you're running it as another user? Try sudo pm2 list and see if you still get the error.
@@codewithbubb
Dear you,
it still error -->Spawning PM2 daemon with pm2_home=/home/vietk/.pm2
Thank you
Did you try it as root? Are you able to run any other node stuff on your server? Try running with debug to see if there is any more info: DEBUG=* pm2 list
Also, check your disk isn't full and also check the permissions/ownership of your pm2 module e.g. ls -alh /usr/local/lib/node_modules/pm2 (or wherever your global node_modules are).
@@codewithbubb
Thank you so much.
I installed nodejs and pm2 by manual
Result is ok
@@hoatranquang8376 Ah great! Glad to hear you got it sorted.
Have a problem how get another folder file😕 Please advise.
use the touch command. For example touch