Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use more sensible config for the rails app listening port

  • Loading branch information...
commit bbb7b18859f1b37ffac46e958b7346a52d44f9f0 1 parent ec05b74
@jsierles authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  rails/templates/default/app_nginx.conf.erb
View
2  rails/templates/default/app_nginx.conf.erb
@@ -1,6 +1,6 @@
upstream <%= @full_name %> {
<% if @app[:haproxy] -%>
- server 127.0.0.1:<%= @node[:haproxy][:listen_port] %>;
+ server 127.0.0.1:<%= @app[:listen_port] || 8600 %>;
<% else -%>
server unix:/u/apps/<%= @app_name %>/shared/sockets/unicorn.sock fail_timeout=0;
<% end -%>
Please sign in to comment.
Something went wrong with that request. Please try again.