Nuxt 3 + Docker + Nginx = 502 bad gateway
I'm trying to run a production version of Nuxt 3 with SSR on my server.
My yml config:
Part of nginx config:
My Dockerfile:
My Docker container with frontend run app with this command:
But mysite.com show me 502 bad gateway error. Any ideas why it is happening?
2 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Well, i figured it out and finally get my frontend on production. But now, i cant fetch data on server-side, always get
fetch failed ()
. I can fetch data only on client-side...