Replies: 1 comment
-
I seemed to have resolved the issue by modifying the 'vercel.json' file to this:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I'm in the process of setting up Nextra Docs. I have a Vercel Proxy Project and this is set up to forward traffic to the Nextra Vercel App when the user goes to domain.com/docs. The issue is, whenever I navigate to the domain.com/docs path, it causes an infinite redirect loop 'ERR_TOO_MANY_REDIRECTS'.. It only occurs when I go to the /docs path, all other paths are fine (/docs/page1)
Vercel Proxy Project (vercel.json) code:
Nextra App (next.config.js):
I am not sure if I need to modify the redirects() method in the next.config.js file, however without this code the infinite loop still exists.
Any help would be greatly appreciated!
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions