{"action":"opened","number":45,"pull_request":{"url":"https://api.github.com/repos/StackStorm/st2workroom/pulls/45","id":40280183,"html_url":"https://github.com/StackStorm/st2workroom/pull/45","diff_url":"https://github.com/StackStorm/st2workroom/pull/45.diff","patch_url":"https://github.com/StackStorm/st2workroom/pull/45.patch","issue_url":"https://api.github.com/repos/StackStorm/st2workroom/issues/45","number":45,"state":"open","locked":false,"title":"[WIP] Nginx proxy for workroom","user":{"login":"jfryman","id":20028,"avatar_url":"https://avatars.githubusercontent.com/u/20028?v=3","gravatar_id":"","url":"https://api.github.com/users/jfryman","html_url":"https://github.com/jfryman","followers_url":"https://api.github.com/users/jfryman/followers","following_url":"https://api.github.com/users/jfryman/following{/other_user}","gists_url":"https://api.github.com/users/jfryman/gists{/gist_id}","starred_url":"https://api.github.com/users/jfryman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfryman/subscriptions","organizations_url":"https://api.github.com/users/jfryman/orgs","repos_url":"https://api.github.com/users/jfryman/repos","events_url":"https://api.github.com/users/jfryman/events{/privacy}","received_events_url":"https://api.github.com/users/jfryman/received_events","type":"User","site_admin":false},"body":"This PR introduces `nginx` as a proxy to serve out `st2auth` and provide PAM integration, `st2api`, `st2installer`, and `mistral`. Each of these applications are WSGI applications that need a common serve point.\r\n\r\nThis introduces several new things:\r\n\r\n* [ ] SSL Cert Generation. A user can either provide a SSL certificate at run-time, or have one automatically generated. Either way, all transmissions to and from will be encrypted.\r\n* [ ] PAM based authentication. Users with access to the machine will also be granted access to StackStorm.\r\n* [ ] Nginx reverse proxy. Nginx has been configured with SSL lockdown to ensure highest grade encryption out of the box. \r\n* [ ] NTP - Clocks drift. Now that SSL is in the picture, that's not going to be allowed. Includes ability to keep up-to-date.\r\n* [ ] `uwsgi` server. All of the aforementioned applications are managed by `uwsgi` in Emperor mode. Watches for configuration from each of the apps on where and how to bootstrap, and then does the needful.\r\n* [ ] st2installer. New and improved, has a nice little thing that is used to configure new installations of StackStorm. Neato!","created_at":"2015-07-17T23:21:21Z","updated_at":"2015-07-17T23:21:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ec0bdb19e765aa7329bbe7f71651de5b87280e63","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/StackStorm/st2workroom/pulls/45/commits","review_comments_url":"https://api.github.com/repos/StackStorm/st2workroom/pulls/45/comments","review_comment_url":"https://api.github.com/repos/StackStorm/st2workroom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/StackStorm/st2workroom/issues/45/comments","statuses_url":"https://api.github.com/repos/StackStorm/st2workroom/statuses/de358f39f3a610d54543b90d223ef24057e0baa1","head":{"label":"StackStorm:nginx-proxy","ref":"nginx-proxy","sha":"de358f39f3a610d54543b90d223ef24057e0baa1","user":{"login":"StackStorm","id":4969009,"avatar_url":"https://avatars.githubusercontent.com/u/4969009?v=3","gravatar_id":"","url":"https://api.github.com/users/StackStorm","html_url":"https://github.com/StackStorm","followers_url":"https://api.github.com/users/StackStorm/followers","following_url":"https://api.github.com/users/StackStorm/following{/other_user}","gists_url":"https://api.github.com/users/StackStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/StackStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackStorm/subscriptions","organizations_url":"https://api.github.com/users/StackStorm/orgs","repos_url":"https://api.github.com/users/StackStorm/repos","events_url":"https://api.github.com/users/StackStorm/events{/privacy}","received_events_url":"https://api.github.com/users/StackStorm/received_events","type":"Organization","site_admin":false},"repo":{"id":29105270,"name":"st2workroom","full_name":"StackStorm/st2workroom","owner":{"login":"StackStorm","id":4969009,"avatar_url":"https://avatars.githubusercontent.com/u/4969009?v=3","gravatar_id":"","url":"https://api.github.com/users/StackStorm","html_url":"https://github.com/StackStorm","followers_url":"https://api.github.com/users/StackStorm/followers","following_url":"https://api.github.com/users/StackStorm/following{/other_user}","gists_url":"https://api.github.com/users/StackStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/StackStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackStorm/subscriptions","organizations_url":"https://api.github.com/users/StackStorm/orgs","repos_url":"https://api.github.com/users/StackStorm/repos","events_url":"https://api.github.com/users/StackStorm/events{/privacy}","received_events_url":"https://api.github.com/users/StackStorm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/StackStorm/st2workroom","description":"Vagrant environment used to play with StackStorm, develop StackStorm for your environment, or develop on StackStorm itself! ","fork":false,"url":"https://api.github.com/repos/StackStorm/st2workroom","forks_url":"https://api.github.com/repos/StackStorm/st2workroom/forks","keys_url":"https://api.github.com/repos/StackStorm/st2workroom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StackStorm/st2workroom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StackStorm/st2workroom/teams","hooks_url":"https://api.github.com/repos/StackStorm/st2workroom/hooks","issue_events_url":"https://api.github.com/repos/StackStorm/st2workroom/issues/events{/number}","events_url":"https://api.github.com/repos/StackStorm/st2workroom/events","assignees_url":"https://api.github.com/repos/StackStorm/st2workroom/assignees{/user}","branches_url":"https://api.github.com/repos/StackStorm/st2workroom/branches{/branch}","tags_url":"https://api.github.com/repos/StackStorm/st2workroom/tags","blobs_url":"https://api.github.com/repos/StackStorm/st2workroom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StackStorm/st2workroom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StackStorm/st2workroom/git/refs{/sha}","trees_url":"https://api.github.com/repos/StackStorm/st2workroom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StackStorm/st2workroom/statuses/{sha}","languages_url":"https://api.github.com/repos/StackStorm/st2workroom/languages","stargazers_url":"https://api.github.com/repos/StackStorm/st2workroom/stargazers","contributors_url":"https://api.github.com/repos/StackStorm/st2workroom/contributors","subscribers_url":"https://api.github.com/repos/StackStorm/st2workroom/subscribers","subscription_url":"https://api.github.com/repos/StackStorm/st2workroom/subscription","commits_url":"https://api.github.com/repos/StackStorm/st2workroom/commits{/sha}","git_commits_url":"https://api.github.com/repos/StackStorm/st2workroom/git/commits{/sha}","comments_url":"https://api.github.com/repos/StackStorm/st2workroom/comments{/number}","issue_comment_url":"https://api.github.com/repos/StackStorm/st2workroom/issues/comments{/number}","contents_url":"https://api.github.com/repos/StackStorm/st2workroom/contents/{+path}","compare_url":"https://api.github.com/repos/StackStorm/st2workroom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StackStorm/st2workroom/merges","archive_url":"https://api.github.com/repos/StackStorm/st2workroom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StackStorm/st2workroom/downloads","issues_url":"https://api.github.com/repos/StackStorm/st2workroom/issues{/number}","pulls_url":"https://api.github.com/repos/StackStorm/st2workroom/pulls{/number}","milestones_url":"https://api.github.com/repos/StackStorm/st2workroom/milestones{/number}","notifications_url":"https://api.github.com/repos/StackStorm/st2workroom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StackStorm/st2workroom/labels{/name}","releases_url":"https://api.github.com/repos/StackStorm/st2workroom/releases{/id}","created_at":"2015-01-11T20:39:43Z","updated_at":"2015-07-15T20:06:34Z","pushed_at":"2015-07-17T23:21:21Z","git_url":"git://github.com/StackStorm/st2workroom.git","ssh_url":"git@github.com:StackStorm/st2workroom.git","clone_url":"https://github.com/StackStorm/st2workroom.git","svn_url":"https://github.com/StackStorm/st2workroom","homepage":"","size":14428,"stargazers_count":9,"watchers_count":9,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":3,"forks":7,"open_issues":3,"watchers":9,"default_branch":"master"}},"base":{"label":"StackStorm:master","ref":"master","sha":"2f0a129543d9f4eb41e9f3faff1dd5da2905241e","user":{"login":"StackStorm","id":4969009,"avatar_url":"https://avatars.githubusercontent.com/u/4969009?v=3","gravatar_id":"","url":"https://api.github.com/users/StackStorm","html_url":"https://github.com/StackStorm","followers_url":"https://api.github.com/users/StackStorm/followers","following_url":"https://api.github.com/users/StackStorm/following{/other_user}","gists_url":"https://api.github.com/users/StackStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/StackStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackStorm/subscriptions","organizations_url":"https://api.github.com/users/StackStorm/orgs","repos_url":"https://api.github.com/users/StackStorm/repos","events_url":"https://api.github.com/users/StackStorm/events{/privacy}","received_events_url":"https://api.github.com/users/StackStorm/received_events","type":"Organization","site_admin":false},"repo":{"id":29105270,"name":"st2workroom","full_name":"StackStorm/st2workroom","owner":{"login":"StackStorm","id":4969009,"avatar_url":"https://avatars.githubusercontent.com/u/4969009?v=3","gravatar_id":"","url":"https://api.github.com/users/StackStorm","html_url":"https://github.com/StackStorm","followers_url":"https://api.github.com/users/StackStorm/followers","following_url":"https://api.github.com/users/StackStorm/following{/other_user}","gists_url":"https://api.github.com/users/StackStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/StackStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackStorm/subscriptions","organizations_url":"https://api.github.com/users/StackStorm/orgs","repos_url":"https://api.github.com/users/StackStorm/repos","events_url":"https://api.github.com/users/StackStorm/events{/privacy}","received_events_url":"https://api.github.com/users/StackStorm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/StackStorm/st2workroom","description":"Vagrant environment used to play with StackStorm, develop StackStorm for your environment, or develop on StackStorm itself! ","fork":false,"url":"https://api.github.com/repos/StackStorm/st2workroom","forks_url":"https://api.github.com/repos/StackStorm/st2workroom/forks","keys_url":"https://api.github.com/repos/StackStorm/st2workroom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StackStorm/st2workroom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StackStorm/st2workroom/teams","hooks_url":"https://api.github.com/repos/StackStorm/st2workroom/hooks","issue_events_url":"https://api.github.com/repos/StackStorm/st2workroom/issues/events{/number}","events_url":"https://api.github.com/repos/StackStorm/st2workroom/events","assignees_url":"https://api.github.com/repos/StackStorm/st2workroom/assignees{/user}","branches_url":"https://api.github.com/repos/StackStorm/st2workroom/branches{/branch}","tags_url":"https://api.github.com/repos/StackStorm/st2workroom/tags","blobs_url":"https://api.github.com/repos/StackStorm/st2workroom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StackStorm/st2workroom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StackStorm/st2workroom/git/refs{/sha}","trees_url":"https://api.github.com/repos/StackStorm/st2workroom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StackStorm/st2workroom/statuses/{sha}","languages_url":"https://api.github.com/repos/StackStorm/st2workroom/languages","stargazers_url":"https://api.github.com/repos/StackStorm/st2workroom/stargazers","contributors_url":"https://api.github.com/repos/StackStorm/st2workroom/contributors","subscribers_url":"https://api.github.com/repos/StackStorm/st2workroom/subscribers","subscription_url":"https://api.github.com/repos/StackStorm/st2workroom/subscription","commits_url":"https://api.github.com/repos/StackStorm/st2workroom/commits{/sha}","git_commits_url":"https://api.github.com/repos/StackStorm/st2workroom/git/commits{/sha}","comments_url":"https://api.github.com/repos/StackStorm/st2workroom/comments{/number}","issue_comment_url":"https://api.github.com/repos/StackStorm/st2workroom/issues/comments{/number}","contents_url":"https://api.github.com/repos/StackStorm/st2workroom/contents/{+path}","compare_url":"https://api.github.com/repos/StackStorm/st2workroom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StackStorm/st2workroom/merges","archive_url":"https://api.github.com/repos/StackStorm/st2workroom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StackStorm/st2workroom/downloads","issues_url":"https://api.github.com/repos/StackStorm/st2workroom/issues{/number}","pulls_url":"https://api.github.com/repos/StackStorm/st2workroom/pulls{/number}","milestones_url":"https://api.github.com/repos/StackStorm/st2workroom/milestones{/number}","notifications_url":"https://api.github.com/repos/StackStorm/st2workroom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StackStorm/st2workroom/labels{/name}","releases_url":"https://api.github.com/repos/StackStorm/st2workroom/releases{/id}","created_at":"2015-01-11T20:39:43Z","updated_at":"2015-07-15T20:06:34Z","pushed_at":"2015-07-17T23:21:21Z","git_url":"git://github.com/StackStorm/st2workroom.git","ssh_url":"git@github.com:StackStorm/st2workroom.git","clone_url":"https://github.com/StackStorm/st2workroom.git","svn_url":"https://github.com/StackStorm/st2workroom","homepage":"","size":14428,"stargazers_count":9,"watchers_count":9,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":3,"forks":7,"open_issues":3,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/StackStorm/st2workroom/pulls/45"},"html":{"href":"https://github.com/StackStorm/st2workroom/pull/45"},"issue":{"href":"https://api.github.com/repos/StackStorm/st2workroom/issues/45"},"comments":{"href":"https://api.github.com/repos/StackStorm/st2workroom/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/StackStorm/st2workroom/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/StackStorm/st2workroom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/StackStorm/st2workroom/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/StackStorm/st2workroom/statuses/de358f39f3a610d54543b90d223ef24057e0baa1"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":306,"deletions":5,"changed_files":6}}