Unable to Render Nextjs via Proxy #6708
Unanswered
vbuser2004
asked this question in
Q&A
Replies: 1 comment 1 reply
-
If you can, use the subdomain-based proxy. It will require either a wildcard certificate or at least the addition of But otherwise, I assume you already followed the instructions in #5837 (comment)? If that is not working then it could be a bug in Next.js. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm new to code-server and love it! It works very well but I am unable to render NextJS application in development using the proxy. The only reference I have found about this is this discussion from 2022, but there was no fix or work-around.
My set up is running code-server 4.21.2 and Debian 12 with a Caddy.
I am able to see the content but the images, css, and js files all show as 404 (it appears that the uri does not include the proxy details - /proxy/3000).
I have tried to use re-writes & 'absproxy', but that has not solved the problem.
Is this a known issue with nextjs or is there something else I should look at in my set up? Appreciate any direction on how to solve this question. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions