D
Dokploy7mo ago
Kallif

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!"
No description
No description
No description
No description
No description
12 Replies
Siumauricio
Siumauricio7mo ago
Very sure you put the wrong port in the domain In what port are running your application?
Siumauricio
Siumauricio7mo ago
GitHub
examples/vuejs at main · Dokploy/examples
Examples to deploy on Dokploy. Contribute to Dokploy/examples development by creating an account on GitHub.
Siumauricio
Siumauricio7mo ago
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.
Kallif
KallifOP7mo ago
I'm not using Vite in this project, could that be the reason?
Siumauricio
Siumauricio7mo ago
No
Kallif
KallifOP7mo ago
To answer your question, I don't exactly know where to check the port or how to configure it. Could you teach me?
Adde
Adde7mo ago
Check your server log after deployment, there it says what port it’s on!:)
David Tran
David Tran7mo ago
This usually because of the way that you run your app inside of container https://www.reddit.com/r/Traefik/comments/z88fns/bad_gateway/
Reddit
From the Traefik community on Reddit
Explore this post and more from the Traefik community
Kallif
KallifOP7mo ago
I would like to thank you for the help you gave me; I was able to successfully complete the deployment.
No description
Adde
Adde7mo ago
🥳
Siumauricio
Siumauricio7mo ago
let's gooo

Did you find this page helpful?