{"action":"closed","number":55,"pull_request":{"url":"https://api.github.com/repos/percona/pmm-server/pulls/55","id":172524994,"html_url":"https://github.com/percona/pmm-server/pull/55","diff_url":"https://github.com/percona/pmm-server/pull/55.diff","patch_url":"https://github.com/percona/pmm-server/pull/55.patch","issue_url":"https://api.github.com/repos/percona/pmm-server/issues/55","number":55,"state":"closed","locked":false,"title":"PMM-2184: Permanent redirects break when using port forwarding","user":{"login":"cezmunsta","id":6232753,"avatar_url":"https://avatars0.githubusercontent.com/u/6232753?v=4","gravatar_id":"","url":"https://api.github.com/users/cezmunsta","html_url":"https://github.com/cezmunsta","followers_url":"https://api.github.com/users/cezmunsta/followers","following_url":"https://api.github.com/users/cezmunsta/following{/other_user}","gists_url":"https://api.github.com/users/cezmunsta/gists{/gist_id}","starred_url":"https://api.github.com/users/cezmunsta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cezmunsta/subscriptions","organizations_url":"https://api.github.com/users/cezmunsta/orgs","repos_url":"https://api.github.com/users/cezmunsta/repos","events_url":"https://api.github.com/users/cezmunsta/events{/privacy}","received_events_url":"https://api.github.com/users/cezmunsta/received_events","type":"User","site_admin":false},"body":"The port is being lost during redirection, because NGINX runs on port 80/443 and sends the location back, which may be incorrect.\r\n\r\n```\r\n⇒ curl --silent --output /dev/null --insecure --dump-header /dev/stdout https://192.168.56.10:8443/\r\nHTTP/1.1 301 Moved Permanently\r\nServer: nginx\r\nDate: Fri, 02 Mar 2018 14:43:40 GMT\r\nContent-Type: text/html\r\nContent-Length: 178\r\nLocation: https://192.168.56.10/graph/\r\nConnection: keep-alive\r\nStrict-Transport-Security: max-age=63072000; includeSubDomains\r\nX-Frame-Options: DENY\r\nX-Content-Type-Options: nosniff\r\nX-XSS-Protection: 1; mode=block\r\nCache-Control: no-store\r\nPragma: no-cache\r\n```","created_at":"2018-03-02T15:04:43Z","updated_at":"2018-03-05T11:45:10Z","closed_at":"2018-03-05T11:45:10Z","merged_at":"2018-03-05T11:45:10Z","merge_commit_sha":"e53ed46b305a756ac596c7f715108702fef3b7fd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/percona/pmm-server/pulls/55/commits","review_comments_url":"https://api.github.com/repos/percona/pmm-server/pulls/55/comments","review_comment_url":"https://api.github.com/repos/percona/pmm-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/percona/pmm-server/issues/55/comments","statuses_url":"https://api.github.com/repos/percona/pmm-server/statuses/e61ebda48f5866e8bc58d786cf63fe54b87c9a79","head":{"label":"cezmunsta:issues/PMM-2184","ref":"issues/PMM-2184","sha":"e61ebda48f5866e8bc58d786cf63fe54b87c9a79","user":{"login":"cezmunsta","id":6232753,"avatar_url":"https://avatars0.githubusercontent.com/u/6232753?v=4","gravatar_id":"","url":"https://api.github.com/users/cezmunsta","html_url":"https://github.com/cezmunsta","followers_url":"https://api.github.com/users/cezmunsta/followers","following_url":"https://api.github.com/users/cezmunsta/following{/other_user}","gists_url":"https://api.github.com/users/cezmunsta/gists{/gist_id}","starred_url":"https://api.github.com/users/cezmunsta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cezmunsta/subscriptions","organizations_url":"https://api.github.com/users/cezmunsta/orgs","repos_url":"https://api.github.com/users/cezmunsta/repos","events_url":"https://api.github.com/users/cezmunsta/events{/privacy}","received_events_url":"https://api.github.com/users/cezmunsta/received_events","type":"User","site_admin":false},"repo":{"id":119115174,"name":"pmm-server","full_name":"cezmunsta/pmm-server","owner":{"login":"cezmunsta","id":6232753,"avatar_url":"https://avatars0.githubusercontent.com/u/6232753?v=4","gravatar_id":"","url":"https://api.github.com/users/cezmunsta","html_url":"https://github.com/cezmunsta","followers_url":"https://api.github.com/users/cezmunsta/followers","following_url":"https://api.github.com/users/cezmunsta/following{/other_user}","gists_url":"https://api.github.com/users/cezmunsta/gists{/gist_id}","starred_url":"https://api.github.com/users/cezmunsta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cezmunsta/subscriptions","organizations_url":"https://api.github.com/users/cezmunsta/orgs","repos_url":"https://api.github.com/users/cezmunsta/repos","events_url":"https://api.github.com/users/cezmunsta/events{/privacy}","received_events_url":"https://api.github.com/users/cezmunsta/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cezmunsta/pmm-server","description":"PMM Server","fork":true,"url":"https://api.github.com/repos/cezmunsta/pmm-server","forks_url":"https://api.github.com/repos/cezmunsta/pmm-server/forks","keys_url":"https://api.github.com/repos/cezmunsta/pmm-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cezmunsta/pmm-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cezmunsta/pmm-server/teams","hooks_url":"https://api.github.com/repos/cezmunsta/pmm-server/hooks","issue_events_url":"https://api.github.com/repos/cezmunsta/pmm-server/issues/events{/number}","events_url":"https://api.github.com/repos/cezmunsta/pmm-server/events","assignees_url":"https://api.github.com/repos/cezmunsta/pmm-server/assignees{/user}","branches_url":"https://api.github.com/repos/cezmunsta/pmm-server/branches{/branch}","tags_url":"https://api.github.com/repos/cezmunsta/pmm-server/tags","blobs_url":"https://api.github.com/repos/cezmunsta/pmm-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cezmunsta/pmm-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cezmunsta/pmm-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/cezmunsta/pmm-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cezmunsta/pmm-server/statuses/{sha}","languages_url":"https://api.github.com/repos/cezmunsta/pmm-server/languages","stargazers_url":"https://api.github.com/repos/cezmunsta/pmm-server/stargazers","contributors_url":"https://api.github.com/repos/cezmunsta/pmm-server/contributors","subscribers_url":"https://api.github.com/repos/cezmunsta/pmm-server/subscribers","subscription_url":"https://api.github.com/repos/cezmunsta/pmm-server/subscription","commits_url":"https://api.github.com/repos/cezmunsta/pmm-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/cezmunsta/pmm-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/cezmunsta/pmm-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/cezmunsta/pmm-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/cezmunsta/pmm-server/contents/{+path}","compare_url":"https://api.github.com/repos/cezmunsta/pmm-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cezmunsta/pmm-server/merges","archive_url":"https://api.github.com/repos/cezmunsta/pmm-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cezmunsta/pmm-server/downloads","issues_url":"https://api.github.com/repos/cezmunsta/pmm-server/issues{/number}","pulls_url":"https://api.github.com/repos/cezmunsta/pmm-server/pulls{/number}","milestones_url":"https://api.github.com/repos/cezmunsta/pmm-server/milestones{/number}","notifications_url":"https://api.github.com/repos/cezmunsta/pmm-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cezmunsta/pmm-server/labels{/name}","releases_url":"https://api.github.com/repos/cezmunsta/pmm-server/releases{/id}","deployments_url":"https://api.github.com/repos/cezmunsta/pmm-server/deployments","created_at":"2018-01-26T23:42:06Z","updated_at":"2018-01-26T23:42:08Z","pushed_at":"2018-03-02T15:01:33Z","git_url":"git://github.com/cezmunsta/pmm-server.git","ssh_url":"git@github.com:cezmunsta/pmm-server.git","clone_url":"https://github.com/cezmunsta/pmm-server.git","svn_url":"https://github.com/cezmunsta/pmm-server","homepage":"https://percona.com/docs/pmm","size":4355,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"percona:master","ref":"master","sha":"f1efb6a885146dd10da83988b90ad4c16d75c9dd","user":{"login":"percona","id":1683025,"avatar_url":"https://avatars0.githubusercontent.com/u/1683025?v=4","gravatar_id":"","url":"https://api.github.com/users/percona","html_url":"https://github.com/percona","followers_url":"https://api.github.com/users/percona/followers","following_url":"https://api.github.com/users/percona/following{/other_user}","gists_url":"https://api.github.com/users/percona/gists{/gist_id}","starred_url":"https://api.github.com/users/percona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/percona/subscriptions","organizations_url":"https://api.github.com/users/percona/orgs","repos_url":"https://api.github.com/users/percona/repos","events_url":"https://api.github.com/users/percona/events{/privacy}","received_events_url":"https://api.github.com/users/percona/received_events","type":"Organization","site_admin":false},"repo":{"id":56446830,"name":"pmm-server","full_name":"percona/pmm-server","owner":{"login":"percona","id":1683025,"avatar_url":"https://avatars0.githubusercontent.com/u/1683025?v=4","gravatar_id":"","url":"https://api.github.com/users/percona","html_url":"https://github.com/percona","followers_url":"https://api.github.com/users/percona/followers","following_url":"https://api.github.com/users/percona/following{/other_user}","gists_url":"https://api.github.com/users/percona/gists{/gist_id}","starred_url":"https://api.github.com/users/percona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/percona/subscriptions","organizations_url":"https://api.github.com/users/percona/orgs","repos_url":"https://api.github.com/users/percona/repos","events_url":"https://api.github.com/users/percona/events{/privacy}","received_events_url":"https://api.github.com/users/percona/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/percona/pmm-server","description":"PMM Server","fork":false,"url":"https://api.github.com/repos/percona/pmm-server","forks_url":"https://api.github.com/repos/percona/pmm-server/forks","keys_url":"https://api.github.com/repos/percona/pmm-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/percona/pmm-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/percona/pmm-server/teams","hooks_url":"https://api.github.com/repos/percona/pmm-server/hooks","issue_events_url":"https://api.github.com/repos/percona/pmm-server/issues/events{/number}","events_url":"https://api.github.com/repos/percona/pmm-server/events","assignees_url":"https://api.github.com/repos/percona/pmm-server/assignees{/user}","branches_url":"https://api.github.com/repos/percona/pmm-server/branches{/branch}","tags_url":"https://api.github.com/repos/percona/pmm-server/tags","blobs_url":"https://api.github.com/repos/percona/pmm-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/percona/pmm-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/percona/pmm-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/percona/pmm-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/percona/pmm-server/statuses/{sha}","languages_url":"https://api.github.com/repos/percona/pmm-server/languages","stargazers_url":"https://api.github.com/repos/percona/pmm-server/stargazers","contributors_url":"https://api.github.com/repos/percona/pmm-server/contributors","subscribers_url":"https://api.github.com/repos/percona/pmm-server/subscribers","subscription_url":"https://api.github.com/repos/percona/pmm-server/subscription","commits_url":"https://api.github.com/repos/percona/pmm-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/percona/pmm-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/percona/pmm-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/percona/pmm-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/percona/pmm-server/contents/{+path}","compare_url":"https://api.github.com/repos/percona/pmm-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/percona/pmm-server/merges","archive_url":"https://api.github.com/repos/percona/pmm-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/percona/pmm-server/downloads","issues_url":"https://api.github.com/repos/percona/pmm-server/issues{/number}","pulls_url":"https://api.github.com/repos/percona/pmm-server/pulls{/number}","milestones_url":"https://api.github.com/repos/percona/pmm-server/milestones{/number}","notifications_url":"https://api.github.com/repos/percona/pmm-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/percona/pmm-server/labels{/name}","releases_url":"https://api.github.com/repos/percona/pmm-server/releases{/id}","deployments_url":"https://api.github.com/repos/percona/pmm-server/deployments","created_at":"2016-04-17T16:33:04Z","updated_at":"2018-03-03T13:21:54Z","pushed_at":"2018-03-05T11:45:10Z","git_url":"git://github.com/percona/pmm-server.git","ssh_url":"git@github.com:percona/pmm-server.git","clone_url":"https://github.com/percona/pmm-server.git","svn_url":"https://github.com/percona/pmm-server","homepage":"https://percona.com/docs/pmm","size":4393,"stargazers_count":78,"watchers_count":78,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":32,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":32,"open_issues":5,"watchers":78,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/percona/pmm-server/pulls/55"},"html":{"href":"https://github.com/percona/pmm-server/pull/55"},"issue":{"href":"https://api.github.com/repos/percona/pmm-server/issues/55"},"comments":{"href":"https://api.github.com/repos/percona/pmm-server/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/percona/pmm-server/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/percona/pmm-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/percona/pmm-server/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/percona/pmm-server/statuses/e61ebda48f5866e8bc58d786cf63fe54b87c9a79"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"delgod","id":303592,"avatar_url":"https://avatars0.githubusercontent.com/u/303592?v=4","gravatar_id":"","url":"https://api.github.com/users/delgod","html_url":"https://github.com/delgod","followers_url":"https://api.github.com/users/delgod/followers","following_url":"https://api.github.com/users/delgod/following{/other_user}","gists_url":"https://api.github.com/users/delgod/gists{/gist_id}","starred_url":"https://api.github.com/users/delgod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delgod/subscriptions","organizations_url":"https://api.github.com/users/delgod/orgs","repos_url":"https://api.github.com/users/delgod/repos","events_url":"https://api.github.com/users/delgod/events{/privacy}","received_events_url":"https://api.github.com/users/delgod/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":3,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"delgod"}}