Hello!
On Thu, Jan 31, 2013 at 3:10 AM, lhmwzy wrote:
> location /t {
> content_by_lua ' ngx.say("d") ';
> }
>
> 那么,访问/t /tdddd /tdfsdfds /t.html /t.php
> 均是显示/t的内容,这是正常的,还是不正常的?
>
location /t 是指以 /t 为前缀的 URI 都能匹配。我想这里你想要的应当是 location = /t :)
Best regards,
-agentzh