Self host Supabase with Nginx #29431
Unanswered
samirpatil2000
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issue with NGINX, Base Path, and Next.js Routing Configuration
NGINX Configuration
I have the following NGINX configuration:
Next.js Configuration
In my Next.js project, I’ve modified the
next.config.js
file to set a base path as shown below:The Issue:
When I try to navigate to this page:
I get a
404 Not Found
error, and in the browser console, I see this error:However, if I change the URL to this format:
It works fine.
Question:
I have already changed the base path in the
next.config.js
file to/blueprint
. Is there something I’m missing in the configuration, either with NGINX or Next.js routing? Any help in resolving this would be appreciated.Here is the Demo Video
Screen_Recording_2024-08-24_at_12.13.32.mov
Beta Was this translation helpful? Give feedback.
All reactions