nginx dies after a few minutes (unicorn)

Igor Sysoev igor at
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

More information about the nginx mailing list