PLEASE help us help you by writing a good post!
My Netlify site name is je-labs-main.netlify.app
I’m building an app in SvelteKit and want to use a reverse proxy to load a subpath of the app to a different domain.
I’ve already read through Netlify’s Support Guide on debugging redirects and everything is hooked up correctly.
I’m trying to reverse proxy je-labs-main.netlify.app/labsl/friendsgiving
to load when visiting friendsgiving.rsvp
I tested the reverse proxy with a different web app and the domain and it worked fine
https://friendsgiving.rsvp/* https://example.com/:splat 200!
even friendsgiving.rspv/about
loaded example.com/about
But when I switch this out to be:
https://friendsgiving.rsvp/* https://je-labs-main.netlify.app/friendsgiving/:splat !200
Nothing loads.
Note: These domains are both setup under the same Netlify project.
I’ve tried almost every variation of this proxy I could think of. I even spun up another instance of the app, and tried to redirect to it. But for some reason, the friendsgiving.rsvp
url just adds the path friendsgiving.rsvp/labs/friendsgiving
and still doesn’t work.
Is there a bug? Am I doing something wrong??