RailsCasts Pro episodes are now free!

Learn more or hide this

Jamie Lawrence's Profile

GitHub User: ideasasylum

Site: http://ideasasylum.com

Comments by Jamie Lawrence

Avatar

I found that nginx was using /var/run/nginx.pid instead of /tmp/nginx.pid for the pid file by default. Just had to change nginx.conf:

-pid /tmp/nginx.pid;
+pid /var/run/nginx.pid;