cookbook 'nginx-config', '~> 1.0.0'
nginx-config (1) Versions 1.0.0 Follow0
Configures nginx
cookbook 'nginx-config', '~> 1.0.0', :supermarket
knife supermarket install nginx-config
knife supermarket download nginx-config
nginx-config-cookbook
Configures nginx
Supported Platforms
- CentOS 6.5
Attributes
Key | Type | Default | Description |
---|---|---|---|
servers |
Hash | {} |
A list of servers with names as key |
Servers
Key | Type | Default | Description |
---|---|---|---|
port |
Integer | 80 |
The port to listen on |
root |
String | nil |
The server's document root |
enable |
Boolean | true |
Enable or disable the server |
upstreams |
Hash | {} |
A list of upstreams with names as key |
locations |
Array | [] |
A list of locations definitions |
Upstreams
Key | Type | Default | Description |
---|---|---|---|
ip |
String | nil |
The IP of the upstream server |
port |
Integer | 80 |
The port of the upstream server |
Locations
Key | Type | Default | Description |
---|---|---|---|
path |
String | nil |
The location path |
alias |
String | nil |
The location alias |
upstream |
String | nil |
Name of an existing upstream |
Usage
nginx-config::default
Include nginx-config
in your node's run_list
:
{ "run_list": [ "recipe[nginx-config]" ] }
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
0.1.0
Initial release of nginx-config
Collaborator Number Metric
1.0.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 failed this metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 passed this metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 failed this metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number