{"action":"created","comment":{"url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/pulls/comments/82865612","pull_request_review_id":3742606,"id":82865612,"diff_hunk":"@@ -6,6 +6,6 @@ server {\n   {%- if site.redirect is defined %}\n   rewrite ^(.*)   {{ site.redirect.get('protocol', 'http') }}://{{ site.redirect.get('host', '$server_name') }}{{ site.redirect.get('path', '$1') }} permanent;\n   {%- else %}\n-  rewrite ^(.*)   https://$server_name$1 permanent;\n+  rewrite ^(.*)   https://$http_host$1 permanent;","path":"nginx/files/redirect.conf","position":null,"original_position":5,"commit_id":"44569aa6eb1000c8a82f7a43ef3e0c3168fd6da0","original_commit_id":"de2851e5da573cc350ba1346949b292065279ab9","user":{"login":"yottatsa","id":68171,"avatar_url":"https://avatars.githubusercontent.com/u/68171?v=3","gravatar_id":"","url":"https://api.github.com/users/yottatsa","html_url":"https://github.com/yottatsa","followers_url":"https://api.github.com/users/yottatsa/followers","following_url":"https://api.github.com/users/yottatsa/following{/other_user}","gists_url":"https://api.github.com/users/yottatsa/gists{/gist_id}","starred_url":"https://api.github.com/users/yottatsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yottatsa/subscriptions","organizations_url":"https://api.github.com/users/yottatsa/orgs","repos_url":"https://api.github.com/users/yottatsa/repos","events_url":"https://api.github.com/users/yottatsa/events{/privacy}","received_events_url":"https://api.github.com/users/yottatsa/received_events","type":"User","site_admin":false},"body":"@pjediny I've amended commit","created_at":"2016-10-11T19:03:11Z","updated_at":"2016-10-11T19:03:11Z","html_url":"https://github.com/tcpcloud/salt-formula-nginx/pull/8#discussion_r82865612","pull_request_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/pulls/comments/82865612"},"html":{"href":"https://github.com/tcpcloud/salt-formula-nginx/pull/8#discussion_r82865612"},"pull_request":{"href":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/pulls/8","id":88829666,"html_url":"https://github.com/tcpcloud/salt-formula-nginx/pull/8","diff_url":"https://github.com/tcpcloud/salt-formula-nginx/pull/8.diff","patch_url":"https://github.com/tcpcloud/salt-formula-nginx/pull/8.patch","issue_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/issues/8","number":8,"state":"open","locked":false,"title":"Fix redirect to http://_/","user":{"login":"yottatsa","id":68171,"avatar_url":"https://avatars.githubusercontent.com/u/68171?v=3","gravatar_id":"","url":"https://api.github.com/users/yottatsa","html_url":"https://github.com/yottatsa","followers_url":"https://api.github.com/users/yottatsa/followers","following_url":"https://api.github.com/users/yottatsa/following{/other_user}","gists_url":"https://api.github.com/users/yottatsa/gists{/gist_id}","starred_url":"https://api.github.com/users/yottatsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yottatsa/subscriptions","organizations_url":"https://api.github.com/users/yottatsa/orgs","repos_url":"https://api.github.com/users/yottatsa/repos","events_url":"https://api.github.com/users/yottatsa/events{/privacy}","received_events_url":"https://api.github.com/users/yottatsa/received_events","type":"User","site_admin":false},"body":"If site is empty, or redirect is not specified, it should use $http_host","created_at":"2016-10-11T13:12:13Z","updated_at":"2016-10-11T19:03:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4d0e19937af6e418b52f3f3c5980147faa3a7a8a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/pulls/8/commits","review_comments_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/pulls/8/comments","review_comment_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/issues/8/comments","statuses_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/statuses/44569aa6eb1000c8a82f7a43ef3e0c3168fd6da0","head":{"label":"yottatsa:master","ref":"master","sha":"44569aa6eb1000c8a82f7a43ef3e0c3168fd6da0","user":{"login":"yottatsa","id":68171,"avatar_url":"https://avatars.githubusercontent.com/u/68171?v=3","gravatar_id":"","url":"https://api.github.com/users/yottatsa","html_url":"https://github.com/yottatsa","followers_url":"https://api.github.com/users/yottatsa/followers","following_url":"https://api.github.com/users/yottatsa/following{/other_user}","gists_url":"https://api.github.com/users/yottatsa/gists{/gist_id}","starred_url":"https://api.github.com/users/yottatsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yottatsa/subscriptions","organizations_url":"https://api.github.com/users/yottatsa/orgs","repos_url":"https://api.github.com/users/yottatsa/repos","events_url":"https://api.github.com/users/yottatsa/events{/privacy}","received_events_url":"https://api.github.com/users/yottatsa/received_events","type":"User","site_admin":false},"repo":{"id":70594494,"name":"salt-formula-nginx","full_name":"yottatsa/salt-formula-nginx","owner":{"login":"yottatsa","id":68171,"avatar_url":"https://avatars.githubusercontent.com/u/68171?v=3","gravatar_id":"","url":"https://api.github.com/users/yottatsa","html_url":"https://github.com/yottatsa","followers_url":"https://api.github.com/users/yottatsa/followers","following_url":"https://api.github.com/users/yottatsa/following{/other_user}","gists_url":"https://api.github.com/users/yottatsa/gists{/gist_id}","starred_url":"https://api.github.com/users/yottatsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yottatsa/subscriptions","organizations_url":"https://api.github.com/users/yottatsa/orgs","repos_url":"https://api.github.com/users/yottatsa/repos","events_url":"https://api.github.com/users/yottatsa/events{/privacy}","received_events_url":"https://api.github.com/users/yottatsa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yottatsa/salt-formula-nginx","description":null,"fork":true,"url":"https://api.github.com/repos/yottatsa/salt-formula-nginx","forks_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/forks","keys_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/teams","hooks_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/hooks","issue_events_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/issues/events{/number}","events_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/events","assignees_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/assignees{/user}","branches_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/branches{/branch}","tags_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/tags","blobs_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/git/refs{/sha}","trees_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/statuses/{sha}","languages_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/languages","stargazers_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/stargazers","contributors_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/contributors","subscribers_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/subscribers","subscription_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/subscription","commits_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/commits{/sha}","git_commits_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/git/commits{/sha}","comments_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/comments{/number}","issue_comment_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/issues/comments{/number}","contents_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/contents/{+path}","compare_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/merges","archive_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/downloads","issues_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/issues{/number}","pulls_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/pulls{/number}","milestones_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/milestones{/number}","notifications_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/labels{/name}","releases_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/releases{/id}","deployments_url":"https://api.github.com/repos/yottatsa/salt-formula-nginx/deployments","created_at":"2016-10-11T13:10:06Z","updated_at":"2016-10-11T13:10:07Z","pushed_at":"2016-10-11T19:02:25Z","git_url":"git://github.com/yottatsa/salt-formula-nginx.git","ssh_url":"git@github.com:yottatsa/salt-formula-nginx.git","clone_url":"https://github.com/yottatsa/salt-formula-nginx.git","svn_url":"https://github.com/yottatsa/salt-formula-nginx","homepage":null,"size":56,"stargazers_count":0,"watchers_count":0,"language":"SaltStack","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tcpcloud:master","ref":"master","sha":"82b2dbeeacf1af95d5210adfa785778309ae28b7","user":{"login":"tcpcloud","id":8155954,"avatar_url":"https://avatars.githubusercontent.com/u/8155954?v=3","gravatar_id":"","url":"https://api.github.com/users/tcpcloud","html_url":"https://github.com/tcpcloud","followers_url":"https://api.github.com/users/tcpcloud/followers","following_url":"https://api.github.com/users/tcpcloud/following{/other_user}","gists_url":"https://api.github.com/users/tcpcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/tcpcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcpcloud/subscriptions","organizations_url":"https://api.github.com/users/tcpcloud/orgs","repos_url":"https://api.github.com/users/tcpcloud/repos","events_url":"https://api.github.com/users/tcpcloud/events{/privacy}","received_events_url":"https://api.github.com/users/tcpcloud/received_events","type":"Organization","site_admin":false},"repo":{"id":43755578,"name":"salt-formula-nginx","full_name":"tcpcloud/salt-formula-nginx","owner":{"login":"tcpcloud","id":8155954,"avatar_url":"https://avatars.githubusercontent.com/u/8155954?v=3","gravatar_id":"","url":"https://api.github.com/users/tcpcloud","html_url":"https://github.com/tcpcloud","followers_url":"https://api.github.com/users/tcpcloud/followers","following_url":"https://api.github.com/users/tcpcloud/following{/other_user}","gists_url":"https://api.github.com/users/tcpcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/tcpcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcpcloud/subscriptions","organizations_url":"https://api.github.com/users/tcpcloud/orgs","repos_url":"https://api.github.com/users/tcpcloud/repos","events_url":"https://api.github.com/users/tcpcloud/events{/privacy}","received_events_url":"https://api.github.com/users/tcpcloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tcpcloud/salt-formula-nginx","description":null,"fork":false,"url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx","forks_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/forks","keys_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/teams","hooks_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/hooks","issue_events_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/issues/events{/number}","events_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/events","assignees_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/assignees{/user}","branches_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/branches{/branch}","tags_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/tags","blobs_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/git/refs{/sha}","trees_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/statuses/{sha}","languages_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/languages","stargazers_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/stargazers","contributors_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/contributors","subscribers_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/subscribers","subscription_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/subscription","commits_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/commits{/sha}","git_commits_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/git/commits{/sha}","comments_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/comments{/number}","issue_comment_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/issues/comments{/number}","contents_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/contents/{+path}","compare_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/merges","archive_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/downloads","issues_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/issues{/number}","pulls_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/pulls{/number}","milestones_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/milestones{/number}","notifications_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/labels{/name}","releases_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/releases{/id}","deployments_url":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/deployments","created_at":"2015-10-06T14:22:35Z","updated_at":"2016-01-25T17:08:19Z","pushed_at":"2016-10-11T19:02:27Z","git_url":"git://github.com/tcpcloud/salt-formula-nginx.git","ssh_url":"git@github.com:tcpcloud/salt-formula-nginx.git","clone_url":"https://github.com/tcpcloud/salt-formula-nginx.git","svn_url":"https://github.com/tcpcloud/salt-formula-nginx","homepage":null,"size":60,"stargazers_count":0,"watchers_count":0,"language":"SaltStack","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":3,"forks":4,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/pulls/8"},"html":{"href":"https://github.com/tcpcloud/salt-formula-nginx/pull/8"},"issue":{"href":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/issues/8"},"comments":{"href":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/tcpcloud/salt-formula-nginx/statuses/44569aa6eb1000c8a82f7a43ef3e0c3168fd6da0"}}}}
{"actor":{"display_login":"yottatsa"}}