not working remote server
mikdatdogru opened this issue · comments
Hi;
maybe there is a simple solution but I might not have done it because I'm a beginner.
I build with 'yarn run build -- --release'
then I upload the build folder to my nginx node server.
then i run 'yarn install'
and then start the app with 'sudo pm2 start server.js'
and finally when I open the website, app can not find client and vendor file
Where am I doing wrong?
im sorry my mistake.
this works with nginx config
server {
listen 80;
server_name thickline.net;
location / {
proxy_pass http://localhost:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}