{"action":"created","issue":{"url":"https://api.github.com/repos/idevz/vanilla/issues/44","repository_url":"https://api.github.com/repos/idevz/vanilla","labels_url":"https://api.github.com/repos/idevz/vanilla/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/idevz/vanilla/issues/44/comments","events_url":"https://api.github.com/repos/idevz/vanilla/issues/44/events","html_url":"https://github.com/idevz/vanilla/issues/44","id":143453202,"number":44,"title":"restful模式下 测试报错","user":{"login":"mind029","id":15632740,"avatar_url":"https://avatars.githubusercontent.com/u/15632740?v=3","gravatar_id":"","url":"https://api.github.com/users/mind029","html_url":"https://github.com/mind029","followers_url":"https://api.github.com/users/mind029/followers","following_url":"https://api.github.com/users/mind029/following{/other_user}","gists_url":"https://api.github.com/users/mind029/gists{/gist_id}","starred_url":"https://api.github.com/users/mind029/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mind029/subscriptions","organizations_url":"https://api.github.com/users/mind029/orgs","repos_url":"https://api.github.com/users/mind029/repos","events_url":"https://api.github.com/users/mind029/events{/privacy}","received_events_url":"https://api.github.com/users/mind029/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-25T08:25:27Z","updated_at":"2016-03-25T12:38:05Z","closed_at":null,"body":"使用阿里云 性能测试 工具 测试 vanilla 。发现在使用 restful路由的 url 报500错误。使用简单路由这没有（注明：使用浏览器正常 访问restful 路由url都没这情况），这个情况是否是个bug？\r\n\r\n请求头信息：\r\n`概览\r\n\r\nRequest URL :\t\r\nhttp://114.215.93.85/\r\nRequest Method :\tGET\r\nStatus Code :\t500 Internal Server Error\r\n响应头信息\r\n\r\nServer :\t\r\nopenresty/1.9.7.2\r\nDate :\t\r\nFri, 25 Mar 2016 07:44:25 GMT\r\nContent-Type :\t\r\ntext/html; charset=UTF-8\r\nTransfer-Encoding :\t\r\nchunked\r\nConnection :\t\r\nkeep-alive\r\nPower-By :\t\r\nVanilla-0.1.0-rc4\r\n请求头信息\r\n\r\nHost :\t\r\n114.215.93.85\r\nConnection :\t\r\nKeep-Alive\r\nUser-Agent :\t\r\nPTS-HTTP-CLIENT`\r\n响应信息：\r\n\"/usr/local/vanilla/vanilla/v/routes/restful.lua:34: bad argument #1 to 'ngxmatch' (string expected, got boolean)\"\r\n"},"comment":{"url":"https://api.github.com/repos/idevz/vanilla/issues/comments/201265547","html_url":"https://github.com/idevz/vanilla/issues/44#issuecomment-201265547","issue_url":"https://api.github.com/repos/idevz/vanilla/issues/44","id":201265547,"user":{"login":"idevz","id":2113827,"avatar_url":"https://avatars.githubusercontent.com/u/2113827?v=3","gravatar_id":"","url":"https://api.github.com/users/idevz","html_url":"https://github.com/idevz","followers_url":"https://api.github.com/users/idevz/followers","following_url":"https://api.github.com/users/idevz/following{/other_user}","gists_url":"https://api.github.com/users/idevz/gists{/gist_id}","starred_url":"https://api.github.com/users/idevz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idevz/subscriptions","organizations_url":"https://api.github.com/users/idevz/orgs","repos_url":"https://api.github.com/users/idevz/repos","events_url":"https://api.github.com/users/idevz/events{/privacy}","received_events_url":"https://api.github.com/users/idevz/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T12:38:05Z","updated_at":"2016-03-25T12:38:05Z","body":"@mind029 非常抱歉 我才发现，那个bug也是你报的。你看看你的配置没问题吧？"}}