Answer the question
In order to leave comments, you need to log in
How to change the response from the server?
Is it possible somehow to change the response from the server without making a redirect?
Let's say everything that starts with /api is sent to the backend
location /api {
rewrite ^/(.*)/$ /$1 permanent;
proxy_pass https://127.0.0.1:9909;
}
location / {
root C:/client;
}
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