My site is available at site.com and how can I make it available at two addresses site.com and site.com/old/? and if the client went to site.com/old/ then all the other transitions remained at the same address, i.e. when you click on "Home" went to site.com/old/index and not to site.com/index

Now I implemented it like this:

location ^~ /old { rewrite ^/old(/.*)$ /$1 break; ... } 

but since there is a problem, I’ll open everything to site.com/old/any_request, but if I click on any of the links on the site, they’re already on site.com/any_request

0