D
D
double_t0uble2018-06-25 13:12:53
Nginx
double_t0uble, 2018-06-25 13:12:53

How to redirect requests under nginx condition?

There are 2 types of requests exemple.com/v1/next and exemple.com/v2/next
It is necessary to redirect nginx requests like exemple.com/v1/next to another url.
How can this be implemented?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Max, 2018-06-25
@MaxDukov

location {
  rewrite}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question