{"action":"created","comment":{"url":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls/comments/146843959","pull_request_review_id":71845642,"id":146843959,"diff_hunk":"@@ -18,13 +18,13 @@ nginx_sites:\n       value: \"$server_name\"\n    limit_req_zones:\n     - name: \"restore\"\n-      zone: \"$server_name\"\n+      zone: \"$digest_submission\"","path":"ansible/roles/nginx/vars/cas_ssl.yml","position":5,"original_position":5,"commit_id":"c2b7e38a586e77972dae6bc3b32d0c4e72c2ff60","original_commit_id":"c2b7e38a586e77972dae6bc3b32d0c4e72c2ff60","user":{"login":"snopoke","id":249606,"avatar_url":"https://avatars3.githubusercontent.com/u/249606?v=4","gravatar_id":"","url":"https://api.github.com/users/snopoke","html_url":"https://github.com/snopoke","followers_url":"https://api.github.com/users/snopoke/followers","following_url":"https://api.github.com/users/snopoke/following{/other_user}","gists_url":"https://api.github.com/users/snopoke/gists{/gist_id}","starred_url":"https://api.github.com/users/snopoke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snopoke/subscriptions","organizations_url":"https://api.github.com/users/snopoke/orgs","repos_url":"https://api.github.com/users/snopoke/repos","events_url":"https://api.github.com/users/snopoke/events{/privacy}","received_events_url":"https://api.github.com/users/snopoke/received_events","type":"User","site_admin":false},"body":"This just changes the zone key. The result will look like this:\r\n```\r\nlimit_req_zone $digest_submission zone=restore:10m rate=2r/s;\r\nlimit_req_zone $digest_submission zone=submissions:10m rate=10r/s;\r\nlimit_req_zone $server_name zone=server_name:10m rate=25r/s;\r\nlimit_req_zone $server_name zone=app_downloads:10m rate=50r/s;\r\n```\r\n\r\nThe zone names are still unique.","created_at":"2017-10-25T12:46:35Z","updated_at":"2017-10-25T12:46:39Z","html_url":"https://github.com/dimagi/commcarehq-ansible/pull/987#discussion_r146843959","pull_request_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls/987","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls/comments/146843959"},"html":{"href":"https://github.com/dimagi/commcarehq-ansible/pull/987#discussion_r146843959"},"pull_request":{"href":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls/987"}},"in_reply_to_id":146840451},"pull_request":{"url":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls/987","id":148630005,"html_url":"https://github.com/dimagi/commcarehq-ansible/pull/987","diff_url":"https://github.com/dimagi/commcarehq-ansible/pull/987.diff","patch_url":"https://github.com/dimagi/commcarehq-ansible/pull/987.patch","issue_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/987","number":987,"state":"open","locked":false,"title":"digest auth rate limiting for restores","user":{"login":"snopoke","id":249606,"avatar_url":"https://avatars3.githubusercontent.com/u/249606?v=4","gravatar_id":"","url":"https://api.github.com/users/snopoke","html_url":"https://github.com/snopoke","followers_url":"https://api.github.com/users/snopoke/followers","following_url":"https://api.github.com/users/snopoke/following{/other_user}","gists_url":"https://api.github.com/users/snopoke/gists{/gist_id}","starred_url":"https://api.github.com/users/snopoke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snopoke/subscriptions","organizations_url":"https://api.github.com/users/snopoke/orgs","repos_url":"https://api.github.com/users/snopoke/repos","events_url":"https://api.github.com/users/snopoke/events{/privacy}","received_events_url":"https://api.github.com/users/snopoke/received_events","type":"User","site_admin":false},"body":"Already applied to nginx conf","created_at":"2017-10-25T10:36:54Z","updated_at":"2017-10-25T12:46:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb98cca667ae64aa0627653091c535f16bf66de1","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls/987/commits","review_comments_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls/987/comments","review_comment_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/987/comments","statuses_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/statuses/c2b7e38a586e77972dae6bc3b32d0c4e72c2ff60","head":{"label":"dimagi:sk/digest-restore","ref":"sk/digest-restore","sha":"c2b7e38a586e77972dae6bc3b32d0c4e72c2ff60","user":{"login":"dimagi","id":94514,"avatar_url":"https://avatars1.githubusercontent.com/u/94514?v=4","gravatar_id":"","url":"https://api.github.com/users/dimagi","html_url":"https://github.com/dimagi","followers_url":"https://api.github.com/users/dimagi/followers","following_url":"https://api.github.com/users/dimagi/following{/other_user}","gists_url":"https://api.github.com/users/dimagi/gists{/gist_id}","starred_url":"https://api.github.com/users/dimagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimagi/subscriptions","organizations_url":"https://api.github.com/users/dimagi/orgs","repos_url":"https://api.github.com/users/dimagi/repos","events_url":"https://api.github.com/users/dimagi/events{/privacy}","received_events_url":"https://api.github.com/users/dimagi/received_events","type":"Organization","site_admin":false},"repo":{"id":22074543,"name":"commcarehq-ansible","full_name":"dimagi/commcarehq-ansible","owner":{"login":"dimagi","id":94514,"avatar_url":"https://avatars1.githubusercontent.com/u/94514?v=4","gravatar_id":"","url":"https://api.github.com/users/dimagi","html_url":"https://github.com/dimagi","followers_url":"https://api.github.com/users/dimagi/followers","following_url":"https://api.github.com/users/dimagi/following{/other_user}","gists_url":"https://api.github.com/users/dimagi/gists{/gist_id}","starred_url":"https://api.github.com/users/dimagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimagi/subscriptions","organizations_url":"https://api.github.com/users/dimagi/orgs","repos_url":"https://api.github.com/users/dimagi/repos","events_url":"https://api.github.com/users/dimagi/events{/privacy}","received_events_url":"https://api.github.com/users/dimagi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dimagi/commcarehq-ansible","description":null,"fork":false,"url":"https://api.github.com/repos/dimagi/commcarehq-ansible","forks_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/forks","keys_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/teams","hooks_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/hooks","issue_events_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/events{/number}","events_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/events","assignees_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/assignees{/user}","branches_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/branches{/branch}","tags_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/tags","blobs_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/languages","stargazers_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/stargazers","contributors_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/contributors","subscribers_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/subscribers","subscription_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/subscription","commits_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/contents/{+path}","compare_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/merges","archive_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/downloads","issues_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues{/number}","pulls_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/labels{/name}","releases_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/releases{/id}","deployments_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/deployments","created_at":"2014-07-21T18:04:26Z","updated_at":"2017-09-04T23:22:34Z","pushed_at":"2017-10-25T10:36:54Z","git_url":"git://github.com/dimagi/commcarehq-ansible.git","ssh_url":"git@github.com:dimagi/commcarehq-ansible.git","clone_url":"https://github.com/dimagi/commcarehq-ansible.git","svn_url":"https://github.com/dimagi/commcarehq-ansible","homepage":null,"size":3368,"stargazers_count":4,"watchers_count":4,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":21,"forks":6,"open_issues":21,"watchers":4,"default_branch":"master"}},"base":{"label":"dimagi:master","ref":"master","sha":"01b65ed44a213a3ae4be6ffbe472a936281520a5","user":{"login":"dimagi","id":94514,"avatar_url":"https://avatars1.githubusercontent.com/u/94514?v=4","gravatar_id":"","url":"https://api.github.com/users/dimagi","html_url":"https://github.com/dimagi","followers_url":"https://api.github.com/users/dimagi/followers","following_url":"https://api.github.com/users/dimagi/following{/other_user}","gists_url":"https://api.github.com/users/dimagi/gists{/gist_id}","starred_url":"https://api.github.com/users/dimagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimagi/subscriptions","organizations_url":"https://api.github.com/users/dimagi/orgs","repos_url":"https://api.github.com/users/dimagi/repos","events_url":"https://api.github.com/users/dimagi/events{/privacy}","received_events_url":"https://api.github.com/users/dimagi/received_events","type":"Organization","site_admin":false},"repo":{"id":22074543,"name":"commcarehq-ansible","full_name":"dimagi/commcarehq-ansible","owner":{"login":"dimagi","id":94514,"avatar_url":"https://avatars1.githubusercontent.com/u/94514?v=4","gravatar_id":"","url":"https://api.github.com/users/dimagi","html_url":"https://github.com/dimagi","followers_url":"https://api.github.com/users/dimagi/followers","following_url":"https://api.github.com/users/dimagi/following{/other_user}","gists_url":"https://api.github.com/users/dimagi/gists{/gist_id}","starred_url":"https://api.github.com/users/dimagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimagi/subscriptions","organizations_url":"https://api.github.com/users/dimagi/orgs","repos_url":"https://api.github.com/users/dimagi/repos","events_url":"https://api.github.com/users/dimagi/events{/privacy}","received_events_url":"https://api.github.com/users/dimagi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dimagi/commcarehq-ansible","description":null,"fork":false,"url":"https://api.github.com/repos/dimagi/commcarehq-ansible","forks_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/forks","keys_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/teams","hooks_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/hooks","issue_events_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/events{/number}","events_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/events","assignees_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/assignees{/user}","branches_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/branches{/branch}","tags_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/tags","blobs_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/languages","stargazers_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/stargazers","contributors_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/contributors","subscribers_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/subscribers","subscription_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/subscription","commits_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/contents/{+path}","compare_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/merges","archive_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/downloads","issues_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues{/number}","pulls_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/labels{/name}","releases_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/releases{/id}","deployments_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/deployments","created_at":"2014-07-21T18:04:26Z","updated_at":"2017-09-04T23:22:34Z","pushed_at":"2017-10-25T10:36:54Z","git_url":"git://github.com/dimagi/commcarehq-ansible.git","ssh_url":"git@github.com:dimagi/commcarehq-ansible.git","clone_url":"https://github.com/dimagi/commcarehq-ansible.git","svn_url":"https://github.com/dimagi/commcarehq-ansible","homepage":null,"size":3368,"stargazers_count":4,"watchers_count":4,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":21,"forks":6,"open_issues":21,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls/987"},"html":{"href":"https://github.com/dimagi/commcarehq-ansible/pull/987"},"issue":{"href":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/987"},"comments":{"href":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/987/comments"},"review_comments":{"href":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls/987/comments"},"review_comment":{"href":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls/987/commits"},"statuses":{"href":"https://api.github.com/repos/dimagi/commcarehq-ansible/statuses/c2b7e38a586e77972dae6bc3b32d0c4e72c2ff60"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"snopoke"}}