diff options
| author | Tyler Mercier <tylermercier@gmail.com> | 2013-07-23 10:57:15 -0600 |
|---|---|---|
| committer | Tyler Mercier <tylermercier@gmail.com> | 2013-07-23 10:57:15 -0600 |
| commit | 6296e8915ec412bc744c0017b284d0dd59bc61b8 (patch) | |
| tree | 18f3cd28c588475bd16b79237807d2a30877b18f | |
| parent | 7d6ca34e0d82e37c7f13adfa363d3f48d030ba9a (diff) | |
change sock location for unicorn
| -rw-r--r-- | config/nginx_parley.txt | 2 | ||||
| -rw-r--r-- | config/unicorn.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config/nginx_parley.txt b/config/nginx_parley.txt index 10cfd29..f1f7ccd 100644 --- a/config/nginx_parley.txt +++ b/config/nginx_parley.txt @@ -5,7 +5,7 @@ upstream app_server { # single worker for timing out). # for UNIX domain socket setups: - server unix:/home/demo/apps/parley/current/tmp/sockets/unicorn.sock fail_timeout=0; + server unix:/tmp/unicorn.parley.sock fail_timeout=0; # for TCP setups, point these to your backend servers # server 192.168.0.7:8080 fail_timeout=0; diff --git a/config/unicorn.rb b/config/unicorn.rb index b3e6286..6514417 100644 --- a/config/unicorn.rb +++ b/config/unicorn.rb @@ -27,7 +27,7 @@ working_directory "/home/demo/apps/parley" # available in 0.94.0+ # listen on both a Unix domain socket and a TCP port, # we use a shorter backlog for quicker failover when busy -listen "#{root}/tmp/sockets/unicorn.sock", :backlog => 64 +listen "/tmp/unicorn.parley.sock", :backlog => 64 listen 8080, :tcp_nopush => true # nuke workers after 30 seconds instead of 60 seconds (the default) |
