|
|
发表于 2018-4-24 10:10:30
|
显示全部楼层
本帖最后由 小夜 于 2018-4-24 10:12 编辑
rewrite /v1/xxx=(.*)&xxx=(.*)$ /v1/index.php?xxx=$1&xxx=$2 last;
你试试这样行不行。
其实最好的做法是 /v1/tag/1/page/2/ 这样的路径 对应 index.php?tag=1&page=2
伪静态规则:rewrite /v1/tag/(.*)/page/(.*)$ /v1/index.php?tag=$1&page=$2 last; |
|