{"action":"closed","issue":{"url":"https://api.github.com/repos/drone/drone/issues/1293","repository_url":"https://api.github.com/repos/drone/drone","labels_url":"https://api.github.com/repos/drone/drone/issues/1293/labels{/name}","comments_url":"https://api.github.com/repos/drone/drone/issues/1293/comments","events_url":"https://api.github.com/repos/drone/drone/issues/1293/events","html_url":"https://github.com/drone/drone/issues/1293","id":114428931,"number":1293,"title":"Try X-Accel-Buffering for Nginx SSE","user":{"login":"bradrydzewski","id":817538,"avatar_url":"https://avatars.githubusercontent.com/u/817538?v=3","gravatar_id":"","url":"https://api.github.com/users/bradrydzewski","html_url":"https://github.com/bradrydzewski","followers_url":"https://api.github.com/users/bradrydzewski/followers","following_url":"https://api.github.com/users/bradrydzewski/following{/other_user}","gists_url":"https://api.github.com/users/bradrydzewski/gists{/gist_id}","starred_url":"https://api.github.com/users/bradrydzewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradrydzewski/subscriptions","organizations_url":"https://api.github.com/users/bradrydzewski/orgs","repos_url":"https://api.github.com/users/bradrydzewski/repos","events_url":"https://api.github.com/users/bradrydzewski/events{/privacy}","received_events_url":"https://api.github.com/users/bradrydzewski/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/drone/drone/milestones/9","html_url":"https://github.com/drone/drone/milestones/v0.4.1","labels_url":"https://api.github.com/repos/drone/drone/milestones/9/labels","id":1261093,"number":9,"title":"v0.4.1","description":"","creator":{"login":"bradrydzewski","id":817538,"avatar_url":"https://avatars.githubusercontent.com/u/817538?v=3","gravatar_id":"","url":"https://api.github.com/users/bradrydzewski","html_url":"https://github.com/bradrydzewski","followers_url":"https://api.github.com/users/bradrydzewski/followers","following_url":"https://api.github.com/users/bradrydzewski/following{/other_user}","gists_url":"https://api.github.com/users/bradrydzewski/gists{/gist_id}","starred_url":"https://api.github.com/users/bradrydzewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradrydzewski/subscriptions","organizations_url":"https://api.github.com/users/bradrydzewski/orgs","repos_url":"https://api.github.com/users/bradrydzewski/repos","events_url":"https://api.github.com/users/bradrydzewski/events{/privacy}","received_events_url":"https://api.github.com/users/bradrydzewski/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":9,"state":"open","created_at":"2015-08-18T17:50:23Z","updated_at":"2016-07-11T23:44:06Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-10-31T19:12:56Z","updated_at":"2016-07-11T23:44:06Z","closed_at":"2016-07-11T23:44:06Z","body":"Seeing timeouts in nginx for the server sent events. This has to do with default timeouts by nginx. Some initial research has led me to the following stackoverflow article:\r\nhttp://stackoverflow.com/questions/27898622/server-sent-events-stopped-work-after-enabling-ssl-on-proxy\r\n\r\nIt recommends adding this header:\r\n\r\n```\r\nc.Header(\"X-Accel-Buffering\", \"no\");\r\n```\r\n\r\nWhich would need to be added inside both of the http handlers in this file:\r\nhttps://github.com/drone/drone/blob/master/controller/stream.go\r\n\r\ncc @pirogoeth"}}
{"actor":{"display_login":"bradrydzewski"}}