Correct way to proxy?
I have multiple sites e.g. dashboard, marketing site.
I am site up Start on my dashboard and i want to proxy to the marketing site.
I first tried Nitro config but no matter what layout of this i tried it didn't seem to work. It would always proxy to the marketing site ignoring the dashboard routes.
Then I tried making a global middleware function but that didn't seem to work and would return "This page isn’t working
localhost didn’t send any data.
ERR_EMPTY_RESPONSE"
What would be the ideal way to implement this (if possible)?
I am site up Start on my dashboard and i want to proxy to the marketing site.
I first tried Nitro config but no matter what layout of this i tried it didn't seem to work. It would always proxy to the marketing site ignoring the dashboard routes.
Then I tried making a global middleware function but that didn't seem to work and would return "This page isn’t working
localhost didn’t send any data.
ERR_EMPTY_RESPONSE"
What would be the ideal way to implement this (if possible)?