Sha256: 8dda2d8383d26302e45c327f72ce64223cd16a07dbfdf727e32a463f58c407c5

Contents?: true

Size: 983 Bytes

Versions: 2

Compression:

Stored size: 983 Bytes

Contents

h1. nginx

 "home":../index.html > "recipes":index.html >  nginx  


h2. Namespaces

* "nginx:centos":nginx-centos.html (2) 


h2. Tasks

* "nginx:install_monit":#nginx:install_monit 
* "nginx:setup_mongrel":#nginx:setup_mongrel 


h2. Task documentation

h3(#nginx:install_monit). nginx:install_monit

Install nginx monit hooks.

*nginx_pid_path*: Path to nginx pid file. _Defaults to /var/run/nginx.pid_

@set :nginx_pid_path, "/var/run/nginx.pid"@

*monit_conf_dir*: Destination for monitrc. _Defaults to "/etc/monit"_

@set :monit_conf_dir, "/etc/monit"@



h3(#nginx:setup_mongrel). nginx:setup_mongrel

Create and update the nginx vhost include.

*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"@



Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
capitate-0.2.2 docs/recipes/nginx.txt
capitate-0.2.3 docs/recipes/nginx.txt