Answer the question
In order to leave comments, you need to log in
How to redirect from localhost:300/api/~ to host/api/~ in Nginx?
NGINX works as a proxy to the application on nodejs, the application makes requests to the api, everything is ok with the main one, but when you go to another page, the browser knocks on localhost. Is there any possibility to cut this part to /api ?
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