Welcome! Log In Create A New Profile

Advanced

Re: nginx dies after a few minutes (unicorn)

August 06, 2010 02:54AM
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/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx dies after a few minutes (unicorn)

Stanley Sh August 04, 2010 11:06PM

Re: nginx dies after a few minutes (unicorn)

Igor Sysoev August 05, 2010 06:20AM

Re: nginx dies after a few minutes (unicorn)

Stanley Sh August 05, 2010 05:56PM

Re: nginx dies after a few minutes (unicorn)

Igor Sysoev August 06, 2010 02:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 314
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready