Sulyci
Sulyci
NNuxt
Created by Sulyci on 4/25/2025 in #❓・help
Docker, Traefik, Nuxt, Laravel
hello there! I have a pretty complex docker compose file. I use Traefik as reverse proxy, Nuxt app for frontend, Laravel+Filamentphp for backend and laravel provides API endpoints. I use the Nuxt app in SSR mode. I set up some api in server folder to fetch the data from backend's api. On local machine it works fine, but on my VPS i get 502 error. I don't know how. i had to set a proxy routeRule for Nitro because the url paramteres didn't work before. If I set the localhost or the actual domain it's working on my local machine, but not on the server. it's wierd, i'm stuck, AI can't help. If you reach out, I would be very glad. Thanks!
10 replies