With this rewrite everything works fine: map $uri $new_uri { default ''; ~^/mysite(?<real_uri>.*)$ $real_uri; } and if ($new_uri) { return 301 $scheme://myserver$new_uri; } But what happens, that I want to redirect from "/site" folder to the root: "/" I have already "/sites" directory and this rewrite transforms it to "s"by sf1 - How to...
![]() |
![]() |
![]() |
![]() |
|