标签: php url nginx url-rewriting
我是Nginx的新手,我想做简单的URL重写,但我不知道该怎么做。我希望我的链接看起来像这样:**localhost/some/path/to/file** and real link is: **localhost/index.php?url=/some/path/to/file**。请帮忙。
**localhost/some/path/to/file** and real link is: **localhost/index.php?url=/some/path/to/file**