0

I'm trying to rewrite /anything/index.php to /anything/ in Nginx. I've Bing'd but nothing helps. Can anyone help me please.

4

1 回答 1

0

这样的事情怎么样?

rewrite ^/(.*)/index.php /$1/ last;
于 2013-09-03T03:07:04.673 回答