h1. nginx:mongrel
"home":../index.html > "recipes":index.html > "nginx":nginx.html > mongrel
h2. Tasks
* "nginx:mongrel:setup":#nginx:mongrel:setup
h2. Task documentation
h3(#nginx:mongrel:setup). nginx:mongrel:setup
Generate the nginx vhost include (for a mongrel setup).
*mongrel_application*: Mongrel application. _Defaults to :application_
*mongrel_size*: Number of mongrels.
@set :mongrel_size, 3@
*mongrel_port*: Starting port for mongrels.
If there are 3 mongrels with port 9000, then instances will be at 9000, 9001, and 9002
@set :mongrel_port, 9000@
*domain_name*: Domain name for nginx virtual host, (without www prefix).
@set :domain_name, "foo.com"@