Skip
Skip
NNuxt
Created by Skip on 12/30/2022 in #❓・help
Nuxt 3 + Docker + Nginx = 502 bad gateway
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...
5 replies
NNuxt
Created by Skip on 12/28/2022 in #❓・help
Nuxt 3 with Docker and Backend
Many thanks!
16 replies
NNuxt
Created by Skip on 12/29/2022 in #❓・help
Nuxt 3 in Docker and NGINX
Thank you! What about the root value in the nginx config? And is there some options for running Nuxt 3 on https?
7 replies
NNuxt
Created by Skip on 12/28/2022 in #❓・help
Nuxt 3 with Docker and Backend
yes sure
16 replies
NNuxt
Created by Skip on 12/29/2022 in #❓・help
Nuxt 3 in Docker and NGINX
SSR
7 replies
NNuxt
Created by Skip on 12/28/2022 in #❓・help
Nuxt 3 with Docker and Backend
now everything works fine, there is no hydration missmatch warnings and SSR works fine
16 replies
NNuxt
Created by Skip on 12/28/2022 in #❓・help
Nuxt 3 with Docker and Backend
for anyone who face the same problem case, i use useAsyncData and for baseUrl - process.server ? runtimeConfig.public.BASE_API_URL : runtimeConfig.public.BASE_API_BROWSER_URL, where browser url is localhost and base url is backend docker container name
16 replies
NNuxt
Created by Skip on 12/28/2022 in #❓・help
Nuxt 3 with Docker and Backend
i find a solution
16 replies
NNuxt
Created by Skip on 12/28/2022 in #❓・help
Nuxt 3 with Docker and Backend
Ok, thank you anyway!
16 replies
NNuxt
Created by Skip on 12/28/2022 in #❓・help
Nuxt 3 with Docker and Backend
Can you help me pls a little more with about creating a docker network? in docker-compose do i need to create a network and declare it in containers?
16 replies