nginx:host
Tasks
Task documentation
nginx:host:setup
Generate the nginx vhost include.
Parameters
- nginx_upstream_name
- Application name (for upstream definition)
- Defaults to
fetch(:application) - nginx_upstream_size
- Number of nodes for upstream
- nginx_upstream_port
- Starting port for upstream. If there are 3 nodes with port 9000, then instances will be at 9000, 9001, and 9002
- domain_name
- Domain name
- nginx_vhost_template
- Path to nginx vhost template
- Defaults to
"nginx/nginx_vhost_generic.conf.erb"
ducktyper.com, 14th May 2008
Theme extended from Paul Battley