Z
Z
zxfer2019-03-03 23:29:01
Nginx
zxfer, 2019-03-03 23:29:01

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 question

Ask a Question

731 491 924 answers to any question