{"action":"created","issue":{"url":"https://api.github.com/repos/alexazhou/VeryNginx/issues/84","repository_url":"https://api.github.com/repos/alexazhou/VeryNginx","labels_url":"https://api.github.com/repos/alexazhou/VeryNginx/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/alexazhou/VeryNginx/issues/84/comments","events_url":"https://api.github.com/repos/alexazhou/VeryNginx/issues/84/events","html_url":"https://github.com/alexazhou/VeryNginx/issues/84","id":174665681,"number":84,"title":"关于获取host","user":{"login":"MrTonyDu","id":11453728,"avatar_url":"https://avatars.githubusercontent.com/u/11453728?v=3","gravatar_id":"","url":"https://api.github.com/users/MrTonyDu","html_url":"https://github.com/MrTonyDu","followers_url":"https://api.github.com/users/MrTonyDu/followers","following_url":"https://api.github.com/users/MrTonyDu/following{/other_user}","gists_url":"https://api.github.com/users/MrTonyDu/gists{/gist_id}","starred_url":"https://api.github.com/users/MrTonyDu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrTonyDu/subscriptions","organizations_url":"https://api.github.com/users/MrTonyDu/orgs","repos_url":"https://api.github.com/users/MrTonyDu/repos","events_url":"https://api.github.com/users/MrTonyDu/events{/privacy}","received_events_url":"https://api.github.com/users/MrTonyDu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-02T02:09:19Z","updated_at":"2016-09-02T02:33:09Z","closed_at":null,"body":"local hostname = ngx.var.http_host or ngx.var.host\r\n我发现ngx.var.host获取的主机是没有端口的，而ngx.var.http_host获取的是有端口的，我需要有端口的host，ngx.var.http_host是总不为nil的吗？"},"comment":{"url":"https://api.github.com/repos/alexazhou/VeryNginx/issues/comments/244268006","html_url":"https://github.com/alexazhou/VeryNginx/issues/84#issuecomment-244268006","issue_url":"https://api.github.com/repos/alexazhou/VeryNginx/issues/84","id":244268006,"user":{"login":"alexazhou","id":9353779,"avatar_url":"https://avatars.githubusercontent.com/u/9353779?v=3","gravatar_id":"","url":"https://api.github.com/users/alexazhou","html_url":"https://github.com/alexazhou","followers_url":"https://api.github.com/users/alexazhou/followers","following_url":"https://api.github.com/users/alexazhou/following{/other_user}","gists_url":"https://api.github.com/users/alexazhou/gists{/gist_id}","starred_url":"https://api.github.com/users/alexazhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexazhou/subscriptions","organizations_url":"https://api.github.com/users/alexazhou/orgs","repos_url":"https://api.github.com/users/alexazhou/repos","events_url":"https://api.github.com/users/alexazhou/events{/privacy}","received_events_url":"https://api.github.com/users/alexazhou/received_events","type":"User","site_admin":false},"created_at":"2016-09-02T02:33:09Z","updated_at":"2016-09-02T02:33:09Z","body":"噢，现在 Matcher 中的 host 信息使用的是 ngx.var.host 进行匹配的，所以还不能在 Matcher 中匹配 host 的端口信息😱...\r\n\r\n后续会加入端口的匹配"}}
{"actor":{"display_login":"alexazhou"}}