【发布时间】:2017-04-24 13:57:41
【问题描述】:
我一直在尝试重定向该类型的特定 URL
https://subdomain.example.com/story_meta_info.php?id=9483 到 https://subdomain.example.com/dash/#/story/9483
我曾尝试使用此重写规则,但它一直在末尾添加?id=9483。
rewrite ^/story_meta_info\.php.* https://$host/dash/#/story/$arg_title redirect;
我是不是在某处做错了什么?
【问题讨论】:
标签: nginx url-rewriting