Sha256: c33402a25c4aa9b82ef730d1a6738017afa58adf4efe8bcba6bb9b4088c2ed71

Contents?: true

Size: 1.29 KB

Versions: 3

Compression:

Stored size: 1.29 KB

Contents

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.

<pre>
set :nginx_build_options, {
  :url => "http://sysoev.ru/nginx/nginx-0.5.35.tar.gz",
  :configure_options => "--sbin-path=#{nginx_bin_path} --conf-path=#{nginx_conf_path}
    --pid-path=#{nginx_pid_path} --error-log-path=/var/log/nginx_master_error.log --lock-path=/var/lock/nginx 
    --prefix=#{nginx_prefix_path} --with-md5=auto/lib/md5 --with-sha1=auto/lib/sha1 --with-http_ssl_module"
}
</pre>

*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)



Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
capitate-0.2.5 docs/recipes/nginx-centos.txt
capitate-0.2.7 docs/recipes/nginx-centos.txt
capitate-0.2.6 docs/recipes/nginx-centos.txt