Skip to content
This repository has been archived by the owner on Jul 11, 2020. It is now read-only.

Commit

Permalink
Just use the one app server for now
Browse files Browse the repository at this point in the history
Sam Kottler committed Jun 18, 2014
1 parent 6e78460 commit fe24518
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Berksfile.lock
Original file line number Diff line number Diff line change
@@ -148,7 +148,7 @@ GRAPH
runit (>= 0.0.0)
unicorn (>= 0.0.0)
user (>= 0.0.0)
rubygems-balancer (0.0.5)
rubygems-balancer (0.0.8)
chef-vault (>= 0.0.0)
nginx (>= 0.0.0)
rubygems (>= 0.0.0)
2 changes: 1 addition & 1 deletion cookbooks/rubygems-balancer/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name 'rubygems-balancer'
version '0.0.5'
version '0.0.8'

depends 'chef-vault'
depends 'nginx'
4 changes: 1 addition & 3 deletions cookbooks/rubygems-balancer/templates/default/site.conf.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
upstream app_servers {
<% @app_servers.each do |app_node| %>
server <%= app_node.ip %>:3000 fail_timeout=0;
<% end %>
server <%= @app_servers[0]['ipaddress'] %>:9000 fail_timeout=0;
}

# HTTP

0 comments on commit fe24518

Please sign in to comment.