【发布时间】:2017-03-01 04:42:41
【问题描述】:
我需要重写用户输入的 URL:
https://local.example.com/mh/526446841/mc90-c
服务器从:
https://local.example.com/mh/526446841/?name=mc90-c
我似乎无法让它工作!我试过了:
rewrite ^/mh/(.*)/(.*)$ /mh/$1/?name=$2? last;
【问题讨论】:
标签: nginx url-rewriting