4
4
4upik2018-02-12 14:21:26
Nginx
4upik, 2018-02-12 14:21:26

How to specify multiple URLs for a redirect in nginx location?

in the nginx configuration, you need to set up a redirect
from several URLs to 404.php

location =/item/2520048/nabor-dlya-tvorchestva-risuy-svetom-format-a4 {
    return 301 /404.php ;
 }

how to redirect
ssylka1
ssylka2
ssylka3
to 404.php with one rule ?

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