nginx dies after a few minutes (unicorn)

Igor Sysoev igor at sysoev.ru
Fri Aug 6 10:50:19 MSD 2010


On Thu, Aug 05, 2010 at 11:48:39PM +0200, Stanley Sh wrote:

> Igor, the mistake was my own. Monit was the culprit, it was turning off 
> nginx because I had it misconfigured.
> 
> However, after changing the virtualhost conf to reflect your 
> suggestions, I now get the 403 forbidden error.

Try this:

     location / {
-        try_files  $uri  $uri/  @unicorn;
+        try_files  $uri  @unicorn;
     }


-- 
Igor Sysoev
http://sysoev.ru/en/



More information about the nginx mailing list