Re: Nginx & Unicorn setup

Exel Dev
2013-08-14T12:20:36Z

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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit