0

I have setup working nuxtjs ssr app using pm2 on the vps linux cloud. Its works well on the localhost. For the online deployment, I use pm2 to get the app running. The app is accessible through the domain address. But the issue is with the routes, for example I have set the address as : www.someurl.com/ssrapp , the apache uses proxypass to map the /ssrapp to the www.localhost:3000/ address. But after the app page loads, it says /ssrapp route not found. I can see this issue could be with mapping done in the apache proxypass. But how to configure this part? I cant use nginx ,so can only proceed with apache setup for this.

2
  • I'm not sure about the extra proxypass, isn't this enough? nuxtjs.org/deployments/pm2 Commented Dec 17, 2022 at 19:25
  • The pm2 helps with running and managing the js app. I need either nginx or apache to direct the domain to the localhost:port where the app is running. So I use proxypass from apache to do this. Commented Dec 18, 2022 at 5:14

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.