Can't resolve Server error in production mode on ubuntu nginx

siberiadev
0
siberiadev
commented 6 months ago

Hey there!
I've got big trobles with deploy my nuxt.js project on Ubuntu with Nginx;
Ubuntu 18.04 + nginx
Nuxt.js 2.3.2 (universal mode)

So maybe someboody can help me to resolve my problem)

I will to discribe all things around this problem below:

  1. My nuxt.conf build part:
    2018-11-24_00-34-14.png

  2. My nginx config
    2018-11-24_00-35-25.png

  3. Then I run this command in ssh
    sudo npm run build
    sudo pm2 start npm --name "nuxt" -- start

Now server is listening localhost:3000, as I wrote in package.json

After all this I've got 500 error in console, when I open my site.
2018-11-24_00-40-04.png

What I'm doing wrong? SOS! Help!

0
Informations
Question โ€ข Unresolved
#c8195 - Created 6 months ago