TheHornyDonut
TheHornyDonut
NNuxt
Created by TheHornyDonut on 1/11/2025 in #❓・help
Weird dynamic routing issue when behind proxy or deployed to ECS
Managed to find the issue an external was throwing an error on the client side and this for some reason was cause Nuxt to attempt redirect
13 replies
NNuxt
Created by TheHornyDonut on 1/11/2025 in #❓・help
Weird dynamic routing issue when behind proxy or deployed to ECS
Apologies if it came across wrong, I wasn't trying to say you didn't know what it was
13 replies
NNuxt
Created by TheHornyDonut on 1/11/2025 in #❓・help
Weird dynamic routing issue when behind proxy or deployed to ECS
My colleague should be joining the thread shortly, he's a lot better at explaining things than me
13 replies
NNuxt
Created by TheHornyDonut on 1/11/2025 in #❓・help
Weird dynamic routing issue when behind proxy or deployed to ECS
The reverse proxy is just nginx running on a docker container which is proxying different localhost apps
13 replies
NNuxt
Created by TheHornyDonut on 1/11/2025 in #❓・help
Weird dynamic routing issue when behind proxy or deployed to ECS
Nginx is literally just a reverse proxy so that different apps can fit together locally, it's actually got nothing to do with the nuxt app and it's not used in the production environment
13 replies
NNuxt
Created by TheHornyDonut on 1/11/2025 in #❓・help
Weird dynamic routing issue when behind proxy or deployed to ECS
The app also only has the single page and no routing to other pages, so there's nothing in my code that could be trying to route to /false
13 replies
NNuxt
Created by TheHornyDonut on 1/11/2025 in #❓・help
Weird dynamic routing issue when behind proxy or deployed to ECS
Can live with it being there when using the nginx reverse proxy because that only for local development but it's a bit of a problem when deployed because it's slowing the page down by 300ms
13 replies
NNuxt
Created by TheHornyDonut on 1/11/2025 in #❓・help
Weird dynamic routing issue when behind proxy or deployed to ECS
@L422Y it's likely configuration, but can't figure it out, a colleague has the same issue on a different nuxt app. The AWS setup is Route53, ECS, ELB and Cloudfront - if there's anything that can be a gotcha in any of those that you know about
13 replies