我正试图重写如下网址:
https://staging.sciencehook.com/featured/five-things-you-may-have-missed-over-the-weekend-76?amp
致:
https://staging.sciencehook.com/featured/five-things-you-may-have-missed-over-the-weekend-76/amp
这是我的重写片段:
rewrite ^(.*)\?amp$ $uri/amp last;
现在,这段代码实际上没有重写请告诉我这里的问题。
谢谢!