h1. nginx:centos
"home":../index.html > "recipes":index.html > "nginx":nginx.html > centos
h2. Tasks
* "nginx:centos:install":#nginx:centos:install
* "nginx:centos:restart":#nginx:centos:restart
h2. Task documentation
h3(#nginx:centos:install). nginx:centos:install
Install nginx, conf, initscript, nginx user and service.
*nginx_build_options*: Nginx build options.
*nginx_bin_path*: Nginx sbin path. _Defaults to /sbin/nginx_
@set :nginx_bin_path, "/sbin/nginx"@
*nginx_conf_path*: Path to nginx conf. _Defaults to /etc/nginx/nginx.conf_
@set :nginx_conf_path, "/etc/nginx/nginx.conf"@
*nginx_pid_path*: Path to nginx pid file. _Defaults to /var/run/nginx.pid_
@set :nginx_pid_path, "/var/run/nginx.pid"@
*nginx_prefix_path*: Nginx install prefix. _Defaults to /var/nginx_
@set :nginx_prefix_path, "/var/nginx"@
h3(#nginx:centos:restart). nginx:centos:restart
Restart nginx (service)