Need Help: Bad Gateway After Deploying Vue 3 App
"Hi, can someone help me out? I'm new to this. I just deployed my app, which was built with Vue 3, but when I try to access it, I'm getting a 'bad gateway' error. Any idea what could be causing this?
Thanks!"





12 Replies
Very sure you put the wrong port in the domain
In what port are running your application?
We have a example for vuejs here https://github.com/Dokploy/examples/tree/main/vuejs
GitHub
examples/vuejs at main · Dokploy/examples
Examples to deploy on Dokploy. Contribute to Dokploy/examples development by creating an account on GitHub.
Also you probably need to do this in your vite config to make the application listen in all addresss 0.0.0.0 https://github.com/Dokploy/examples/blob/main/vuejs/vite.config.ts
GitHub
examples/vuejs/vite.config.ts at main · Dokploy/examples
Examples to deploy on Dokploy. Contribute to Dokploy/examples development by creating an account on GitHub.
I'm not using Vite in this project, could that be the reason?
No
To answer your question, I don't exactly know where to check the port or how to configure it. Could you teach me?
Check your server log after deployment, there it says what port it’s on!:)
This usually because of the way that you run your app inside of container https://www.reddit.com/r/Traefik/comments/z88fns/bad_gateway/
I would like to thank you for the help you gave me; I was able to successfully complete the deployment.

🥳
let's gooo