Sha256: ba38290b8356b93d4a46ca619063969db5495d65cf5b148863cf810fa23ede7c

Contents?: true

Size: 988 Bytes

Versions: 1

Compression:

Stored size: 988 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

1 entries across 1 versions & 1 rubygems

Version Path
capitate-0.2.1 docs/recipes/nginx.txt