G
G
gremlintv22019-03-11 14:21:22
Nginx
gremlintv2, 2019-03-11 14:21:22

How to implement such a redirect in nginx?

How to implement such a redirect in nginx:
/film-* -> /movie-*
well, or rewrite
?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dodo512, 2019-03-11
@gremlintv2

rewrite ^/film-(.*) /movie-$1 permanent;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question