change root to uplevel folder

growield nginx-forum на
Пт Сен 1 10:54:49 UTC 2017

Hello. I have  site that have root /www/site
but i must to get some file from /www. How can i change root only for one
this file?

For example
if $key is number rewrite to

But  test.php locates in /www not in /www/site

Posted at Nginx Forum:,276213,276213#msg-276213

Подробная информация о списке рассылки nginx-ru