{"action":"created","comment":{"url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/pulls/comments/26288376","id":26288376,"diff_hunk":"@@ -1335,12 +1335,14 @@ apache::vhost { 'site.name.fdqn':\n       'params' => { 'retry' => '0', 'timeout' => '5' }, },\n     { 'path' => '/e', 'url' => 'http://backend-a/e',\n       'keywords' => ['nocanon', 'interpolate'] },\n+    { 'path' => '/f', 'url' => 'http://backend-f/', 'setenv' => ['proxy-nokeepalive 1','force-proxy-request-1.0 1']},\n   ],\n }\n ```\n \n `reverse_urls` is optional and can be an array or a string. It is useful when used with `mod_proxy_balancer`.\n `params` is an optional parameter. It allows to provide the ProxyPass key=value parameters (Connection settings).\n+`setenv` is optional and is an array to set environment variables for the proxy directive, for details see http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#envsettings","path":"README.md","position":11,"original_position":11,"commit_id":"2d8ff3f37422ed183af184e80eb8470b1e4e014f","original_commit_id":"2d8ff3f37422ed183af184e80eb8470b1e4e014f","user":{"login":"igalic","id":497249,"avatar_url":"https://avatars.githubusercontent.com/u/497249?v=3","gravatar_id":"","url":"https://api.github.com/users/igalic","html_url":"https://github.com/igalic","followers_url":"https://api.github.com/users/igalic/followers","following_url":"https://api.github.com/users/igalic/following{/other_user}","gists_url":"https://api.github.com/users/igalic/gists{/gist_id}","starred_url":"https://api.github.com/users/igalic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igalic/subscriptions","organizations_url":"https://api.github.com/users/igalic/orgs","repos_url":"https://api.github.com/users/igalic/repos","events_url":"https://api.github.com/users/igalic/events{/privacy}","received_events_url":"https://api.github.com/users/igalic/received_events","type":"User","site_admin":false},"body":"please use /current/ for links to the documentation.","created_at":"2015-03-12T09:44:42Z","updated_at":"2015-03-12T09:44:42Z","html_url":"https://github.com/puppetlabs/puppetlabs-apache/pull/1061#discussion_r26288376","pull_request_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/pulls/1061","_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/pulls/comments/26288376"},"html":{"href":"https://github.com/puppetlabs/puppetlabs-apache/pull/1061#discussion_r26288376"},"pull_request":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/pulls/1061"}}},"pull_request":{"url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/pulls/1061","id":31017789,"html_url":"https://github.com/puppetlabs/puppetlabs-apache/pull/1061","diff_url":"https://github.com/puppetlabs/puppetlabs-apache/pull/1061.diff","patch_url":"https://github.com/puppetlabs/puppetlabs-apache/pull/1061.patch","issue_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/issues/1061","number":1061,"state":"open","locked":false,"title":"Allow setting environment variables inside the proxy locations","user":{"login":"stevenpost","id":3898020,"avatar_url":"https://avatars.githubusercontent.com/u/3898020?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenpost","html_url":"https://github.com/stevenpost","followers_url":"https://api.github.com/users/stevenpost/followers","following_url":"https://api.github.com/users/stevenpost/following{/other_user}","gists_url":"https://api.github.com/users/stevenpost/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenpost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenpost/subscriptions","organizations_url":"https://api.github.com/users/stevenpost/orgs","repos_url":"https://api.github.com/users/stevenpost/repos","events_url":"https://api.github.com/users/stevenpost/events{/privacy}","received_events_url":"https://api.github.com/users/stevenpost/received_events","type":"User","site_admin":false},"body":"This patch adds support to set variables using 'SetEnv' inside proxy\r\nlocations. This is needed to support some backends that don't properly\r\nsupport HTTP/1.1, as it allows a fallback by the Apache httpd server.\r\nFor details see [1] (Apache httpd documentation) and [2] (use case).\r\n\r\n[1] http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#envsettings\r\n[2] https://wiki.jenkins-ci.org/display/JENKINS/Running+Jenkins+behind+Apache","created_at":"2015-03-12T09:05:51Z","updated_at":"2015-03-12T09:44:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6d0c4c763850c9c6fe622e6a25ef78464fc9eee8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/pulls/1061/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/pulls/1061/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/issues/1061/comments","statuses_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/statuses/2d8ff3f37422ed183af184e80eb8470b1e4e014f","head":{"label":"stevenpost:feature/proxy_setenv","ref":"feature/proxy_setenv","sha":"2d8ff3f37422ed183af184e80eb8470b1e4e014f","user":{"login":"stevenpost","id":3898020,"avatar_url":"https://avatars.githubusercontent.com/u/3898020?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenpost","html_url":"https://github.com/stevenpost","followers_url":"https://api.github.com/users/stevenpost/followers","following_url":"https://api.github.com/users/stevenpost/following{/other_user}","gists_url":"https://api.github.com/users/stevenpost/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenpost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenpost/subscriptions","organizations_url":"https://api.github.com/users/stevenpost/orgs","repos_url":"https://api.github.com/users/stevenpost/repos","events_url":"https://api.github.com/users/stevenpost/events{/privacy}","received_events_url":"https://api.github.com/users/stevenpost/received_events","type":"User","site_admin":false},"repo":{"id":16917363,"name":"puppetlabs-apache","full_name":"stevenpost/puppetlabs-apache","owner":{"login":"stevenpost","id":3898020,"avatar_url":"https://avatars.githubusercontent.com/u/3898020?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenpost","html_url":"https://github.com/stevenpost","followers_url":"https://api.github.com/users/stevenpost/followers","following_url":"https://api.github.com/users/stevenpost/following{/other_user}","gists_url":"https://api.github.com/users/stevenpost/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenpost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenpost/subscriptions","organizations_url":"https://api.github.com/users/stevenpost/orgs","repos_url":"https://api.github.com/users/stevenpost/repos","events_url":"https://api.github.com/users/stevenpost/events{/privacy}","received_events_url":"https://api.github.com/users/stevenpost/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stevenpost/puppetlabs-apache","description":"Puppet Labs Apache module","fork":true,"url":"https://api.github.com/repos/stevenpost/puppetlabs-apache","forks_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/forks","keys_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/teams","hooks_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/hooks","issue_events_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/issues/events{/number}","events_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/events","assignees_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/assignees{/user}","branches_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/branches{/branch}","tags_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/tags","blobs_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/git/refs{/sha}","trees_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/statuses/{sha}","languages_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/languages","stargazers_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/stargazers","contributors_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/contributors","subscribers_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/subscribers","subscription_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/subscription","commits_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/commits{/sha}","git_commits_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/git/commits{/sha}","comments_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/comments{/number}","issue_comment_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/issues/comments{/number}","contents_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/contents/{+path}","compare_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/merges","archive_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/downloads","issues_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/issues{/number}","pulls_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/pulls{/number}","milestones_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/milestones{/number}","notifications_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/labels{/name}","releases_url":"https://api.github.com/repos/stevenpost/puppetlabs-apache/releases{/id}","created_at":"2014-02-17T15:37:08Z","updated_at":"2015-03-11T09:31:49Z","pushed_at":"2015-03-12T09:05:27Z","git_url":"git://github.com/stevenpost/puppetlabs-apache.git","ssh_url":"git@github.com:stevenpost/puppetlabs-apache.git","clone_url":"https://github.com/stevenpost/puppetlabs-apache.git","svn_url":"https://github.com/stevenpost/puppetlabs-apache","homepage":"https://forge.puppetlabs.com/puppetlabs/apache","size":2821,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"puppetlabs:master","ref":"master","sha":"75636906683724ecf02e70fdcbdf0b1157d2943f","user":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":880770,"name":"puppetlabs-apache","full_name":"puppetlabs/puppetlabs-apache","owner":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/puppetlabs/puppetlabs-apache","description":"Puppet Labs Apache module","fork":false,"url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache","forks_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/forks","keys_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/teams","hooks_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/events","assignees_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/tags","blobs_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/subscription","commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/merges","archive_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/downloads","issues_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/releases{/id}","created_at":"2010-09-01T22:00:16Z","updated_at":"2015-03-11T19:18:47Z","pushed_at":"2015-03-10T20:30:42Z","git_url":"git://github.com/puppetlabs/puppetlabs-apache.git","ssh_url":"git@github.com:puppetlabs/puppetlabs-apache.git","clone_url":"https://github.com/puppetlabs/puppetlabs-apache.git","svn_url":"https://github.com/puppetlabs/puppetlabs-apache","homepage":"https://forge.puppetlabs.com/puppetlabs/apache","size":8941,"stargazers_count":271,"watchers_count":271,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":674,"mirror_url":null,"open_issues_count":67,"forks":674,"open_issues":67,"watchers":271,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/pulls/1061"},"html":{"href":"https://github.com/puppetlabs/puppetlabs-apache/pull/1061"},"issue":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/issues/1061"},"comments":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/issues/1061/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/pulls/1061/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/pulls/1061/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/puppetlabs-apache/statuses/2d8ff3f37422ed183af184e80eb8470b1e4e014f"}}}}