unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Matt Mongeau <halogenandtoast@gmail.com>
To: unicorn list <mongrel-unicorn@rubyforge.org>
Subject: Re: Nginx Conf
Date: Wed, 18 Nov 2009 13:22:25 -0500	[thread overview]
Message-ID: <91d915350911181022s5cf3fa55p96f74a04b610e9f3@mail.gmail.com> (raw)
In-Reply-To: <489AA732-2AD2-4CF9-B330-4E4C37196EA4@berlin.ccc.de>

On Wed, Nov 18, 2009 at 4:35 AM, John-Paul Bader <hukl@berlin.ccc.de> wrote:
> On  a FreeBSD 7.2
>
> varnish:80 -> nginx:8080 -> unicorn
>
> and for ssl
>
> nginx:443 -> varnish:80 -> nginx 8080 -> unicorn
>
>
> Config: http://pastie.textmate.org/703919
>
>
> Kind regards, John
>
>
> On 18.11.2009, at 09:58, huet bartels wrote:
>
>> Dear all,
>>
>> I know members of the list use nginx to forward to unicorn.  Would some
>> be so kind as to share a code snippet on how they have configured nginx
>> to use unicorn.
>>
>> thanks in advance
>>
>> Huet Bartels
>>
>>
>>
>> _______________________________________________
>> mongrel-unicorn mailing list
>> mongrel-unicorn@rubyforge.org
>> http://rubyforge.org/mailman/listinfo/mongrel-unicorn
>>
>
> _______________________________________________
> mongrel-unicorn mailing list
> mongrel-unicorn@rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-unicorn
>

server {
 47     listen 80;
 48     server_name unicorn.local;
 49     location / {
 50       proxy_pass http://unicorn;
 51     }
 52   }
 53
 54   upstream unicorn {
 55       server
unix:/Users/mattmongeau/projects/test/unicorn/tmp/sockets/unicorn.sock;
 56   }

minus the line numbers of course

  parent reply	other threads:[~2009-11-18 18:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-18  8:58 Nginx Conf huet bartels
2009-11-18  9:35 ` John-Paul Bader
2009-11-18 18:17   ` Dylan Stamat
2009-11-19  8:11     ` John-Paul Bader
2009-11-18 18:22   ` Matt Mongeau [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-11-19  7:49 Conf huet bartels
2009-11-22 22:53 ` Nginx Conf Eric Wong
2009-11-23  3:57   ` Dylan Stamat
2009-11-24  7:19     ` Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/unicorn/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=91d915350911181022s5cf3fa55p96f74a04b610e9f3@mail.gmail.com \
    --to=halogenandtoast@gmail.com \
    --cc=mongrel-unicorn@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).