cookbook 'nginx', '= 0.99.0'
nginx
(113) Versions
0.99.0
-
-
12.2.10
-
12.2.9
-
12.2.8
-
12.2.7
-
12.2.6
-
12.2.5
-
12.2.4
-
12.2.3
-
12.2.2
-
12.2.1
-
12.2.0
-
12.1.7
-
12.1.4
-
12.1.3
-
12.1.2
-
12.1.1
-
12.1.0
-
12.0.12
-
12.0.11
-
12.0.10
-
12.0.9
-
12.0.8
-
12.0.7
-
12.0.6
-
12.0.5
-
12.0.4
-
12.0.3
-
12.0.2
-
12.0.1
-
12.0.0
-
11.5.3
-
11.5.2
-
11.5.1
-
11.5.0
-
11.4.0
-
11.3.1
-
11.3.0
-
11.2.0
-
11.1.1
-
11.1.0
-
11.0.0
-
10.6.1
-
10.6.0
-
10.5.0
-
10.4.0
-
10.3.2
-
10.3.1
-
10.3.0
-
10.2.0
-
10.1.1
-
10.1.0
-
10.0.2
-
10.0.1
-
10.0.0
-
9.0.0
-
8.1.6
-
8.1.5
-
8.1.4
-
8.1.2
-
8.1.1
-
8.1.0
-
8.0.0
-
7.0.2
-
7.0.1
-
7.0.0
-
2.7.6
-
2.7.5
-
2.7.4
-
2.7.2
-
2.7.0
-
2.6.2
-
2.6.0
-
2.5.0
-
2.4.4
-
2.4.2
-
2.4.1
-
2.4.0
-
2.3.0
-
2.2.2
-
2.2.0
-
2.1.0
-
2.0.8
-
2.0.6
-
2.0.4
-
2.0.2
-
2.0.0
-
1.8.0
-
1.7.0
-
1.6.0
-
1.4.0
-
1.3.0
-
1.2.0
-
1.1.4
-
1.1.2
-
1.1.0
-
1.0.2
-
1.0.0
-
0.101.6
-
0.101.4
-
0.101.2
-
0.101.0
-
0.100.2
-
0.100.0
-
0.99.2
-
0.99.0
-
0.14.4
-
0.14.3
-
0.14.2
-
0.14.1
-
0.14.0
-
0.12.1
-
0.10.0
-
0.8.0
Follow788
- 12.2.10
- 12.2.9
- 12.2.8
- 12.2.7
- 12.2.6
- 12.2.5
- 12.2.4
- 12.2.3
- 12.2.2
- 12.2.1
- 12.2.0
- 12.1.7
- 12.1.4
- 12.1.3
- 12.1.2
- 12.1.1
- 12.1.0
- 12.0.12
- 12.0.11
- 12.0.10
- 12.0.9
- 12.0.8
- 12.0.7
- 12.0.6
- 12.0.5
- 12.0.4
- 12.0.3
- 12.0.2
- 12.0.1
- 12.0.0
- 11.5.3
- 11.5.2
- 11.5.1
- 11.5.0
- 11.4.0
- 11.3.1
- 11.3.0
- 11.2.0
- 11.1.1
- 11.1.0
- 11.0.0
- 10.6.1
- 10.6.0
- 10.5.0
- 10.4.0
- 10.3.2
- 10.3.1
- 10.3.0
- 10.2.0
- 10.1.1
- 10.1.0
- 10.0.2
- 10.0.1
- 10.0.0
- 9.0.0
- 8.1.6
- 8.1.5
- 8.1.4
- 8.1.2
- 8.1.1
- 8.1.0
- 8.0.0
- 7.0.2
- 7.0.1
- 7.0.0
- 2.7.6
- 2.7.5
- 2.7.4
- 2.7.2
- 2.7.0
- 2.6.2
- 2.6.0
- 2.5.0
- 2.4.4
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.0
- 2.2.2
- 2.2.0
- 2.1.0
- 2.0.8
- 2.0.6
- 2.0.4
- 2.0.2
- 2.0.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.4
- 1.1.2
- 1.1.0
- 1.0.2
- 1.0.0
- 0.101.6
- 0.101.4
- 0.101.2
- 0.101.0
- 0.100.2
- 0.100.0
- 0.99.2
- 0.99.0
- 0.14.4
- 0.14.3
- 0.14.2
- 0.14.1
- 0.14.0
- 0.12.1
- 0.10.0
- 0.8.0
Installs and configures nginx
cookbook 'nginx', '= 0.99.0', :supermarket
knife supermarket install nginx
knife supermarket download nginx
DESCRIPTION
Installs nginx from package OR source code and sets up configuration handling similar to Debian's Apache2 scripts.
REQUIREMENTS
Cookbooks
- build-essential (for nginx::source)
- runit (for nginx::source)
Platform
Debian or Ubuntu though may work where 'build-essential' works, but other platforms are untested.
ATTRIBUTES
All node attributes are set under the nginx
namespace.
- version - sets the version to install.
- dir - configuration dir.
-
log_dir
- where logs go. - user - user to run as.
- binary - path to nginx binary.
- gzip - all attributes under the
gzip
namespace configure the gzip module. - keepalive - whether to use keepalive.
-
keepalive_timeout
- set the keepalive timeout. -
worker_processes
- number of workers to spawn. -
worker_connections
- number of connections per worker. server_names_hash_bucket_size
The following attributes are set at the 'normal' node level via the nginx::source
recipe.
-
install_path
- for nginx::source, sets the --prefix installation. -
src_binary
- for nginx::source, sets the binary location. -
configure_flags
- for nginx::source, an array of flags to use for compilation.
USAGE
Provides two ways to install and configure nginx.
- Install via native package (nginx::default)
- Install via compiled source (nginx::source)
Both recipes implement configuration handling similar to the Debian Apache2 site enable/disable.
There's some redundancy in that the config handling hasn't been separated from the installation method (yet), so use only one of the recipes.
Some of the attributes mentioned above are only set in the nginx::source
recipe. They can be overridden by setting them via a role in override_attributes
.
LICENSE and AUTHOR
Author:: Joshua Timberman (joshua@opscode.com)
Author:: Adam Jacob (adam@opscode.com)
Author:: AJ Christensen (aj@opscode.com)
Copyright:: 2008-2011, Opscode, Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.