Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
params from proxy_pass needs to be a hash (considering the erb templates/vhost/_proxy.erb)
  • Loading branch information
cristifalcas committed Feb 15, 2015
1 parent 01804ed commit d4bbb16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1295,7 +1295,7 @@ apache::vhost { 'site.name.fdqn':
proxy_pass => [
{ 'path' => '/a', 'url' => 'http://backend-a/' },
{ 'path' => '/b', 'url' => 'http://backend-b/' },
{ 'path' => '/c', 'url' => 'http://backend-a/c', 'params' => 'max=20 ttl=120 retry=300' },
{ 'path' => '/c', 'url' => 'http://backend-a/c', 'params' => {'max'=>20, 'ttl'=>120, 'retry'=>300},
{ 'path' => '/l', 'url' => 'http://backend-xy',
'reverse_urls' => ['http://backend-x', 'http://backend-y'] },
{ 'path' => '/d', 'url' => 'http://backend-a/d',
Expand Down

0 comments on commit d4bbb16

Please sign in to comment.