Answer the question
In order to leave comments, you need to log in
How to set up a proxy in Next.js?
Guys, welcome) tell me please what could be the problem in the work of the rewrites method? there is a config file in the project folder. The application itself runs inside a Docker container. If you directly access the request along the path nginx_storytale-app/api .... - you can get the data and draw it on the page. I tried to replace part of the path using rewrites - nothing picks up. what could be the problem with rewrites ? why the method from the documentation does not work? thanks in advance.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question