From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS33070 50.56.128.0/17 X-Spam-Status: No, score=-0.2 required=5.0 tests=AWL shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: archivist@yhbt.net Delivered-To: archivist@dcvr.yhbt.net Received: from rubyforge.org (50-56-192-79.static.cloud-ips.com [50.56.192.79]) by dcvr.yhbt.net (Postfix) with ESMTP id 5F8341F704 for ; Wed, 5 Dec 2012 00:10:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 7E79F2E07A; Wed, 5 Dec 2012 00:10:45 +0000 (UTC) X-Original-To: mongrel-unicorn@rubyforge.org Delivered-To: mongrel-unicorn@rubyforge.org Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id 1B22E2E077 for ; Wed, 5 Dec 2012 00:10:38 +0000 (UTC) Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 14D761F703; Wed, 5 Dec 2012 00:10:36 +0000 (UTC) Date: Wed, 5 Dec 2012 00:10:35 +0000 From: Eric Wong To: unicorn list Subject: Re: 403 Forbidden from nginx when unicorn started in debug mode Message-ID: <20121205001035.GA7126@dcvr.yhbt.net> References: <50BE71E2.6040504@whidbey.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <50BE71E2.6040504@whidbey.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: mongrel-unicorn@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: mongrel-unicorn-bounces@rubyforge.org Errors-To: mongrel-unicorn-bounces@rubyforge.org Jerrold Thompson wrote: > I am using nginx with unicorn as a reverse proxy. > > Has been fantastic, but needed to look through some code > for first time. > > Using ruby 1.9.3p194 with rails 3.2.9, development mode with ssl enabled, > > I start unicorn with -d > > ...and it does not get served up by nginx. > > Any ideas, or more information needed? Can you check your nginx error_log? This is probably an error in the nginx configuration. > if env == 'development' > pid "/home/jet/RailsApps/spree/aceleathergoods/tmp/pids/unicorn.aceleathergoods.pid" > stderr_path "/var/www/aceleathergoods/shared/log/unicorn.stderr.log" > stdout_path "/var/www/aceleathergoods/shared/log/unicorn.stdout.log" In case nginx is configured correctly, maybe the output of stderr can tell you something. _______________________________________________ Unicorn mailing list - mongrel-unicorn@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying