Answer the question
In order to leave comments, you need to log in
Ngnix redirect?
How to make a redirect from site.com/old_url to site.com/new_url I understood
from the manual that this is the case, but it does not work
rewrite ^/new_url http://$server_name/old_url$1 permanent;
Answer the question
In order to leave comments, you need to log in
Need the opposite.
rewrite ^/old_url http://$server_name/new_url$1 permanent;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question