Dwight Spencer wrote in post #1118596: > Hi Pardeep, > > I'm glad to help. I did get to review both of the gists you posted up > and your nginx configuration does look proper. This leads me to suspect > there is a config issue with unicorn. Do you have a gist of the unicorn > config I can look at? > > Also, are you making sure to have unicorn listen on a unix socket > located at /tmp/unicorn.modelesprit.sock instead of a tcp port? > > > Cheers, > Dwight S. (@denzuko) > ComputekIndustries.com
Hi Dwight, Sorry for the delay, my unicorn.rb file in the rails app config folder is as follows: root = "/srv/www/modelesprit.com/" working_directory root pid "#{root}/tmp/pids/unicorn.pid" stderr_path "#{root}/log/unicorn.log" stdout_path "#{root}/log/unicorn.log" listen "/tmp/unicorn.modelesprit.sock" worker_processes 2 timeout 30 Best, Pardeep. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/fcd82b380d8b9ca2f3866319da67a1f7%40ruby-forum.com. For more options, visit https://groups.google.com/groups/opt_out.