On Wed, Nov 18, 2009 at 4:35 AM, John-Paul Bader <[email protected]> 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
>> [email protected]
>> http://rubyforge.org/mailman/listinfo/mongrel-unicorn
>>
>
> _______________________________________________
> mongrel-unicorn mailing list
> [email protected]
> 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
_______________________________________________
mongrel-unicorn mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-unicorn

Reply via email to