cookbook 'ngx', '= 1.0.2', :supermarket
ngx (16) Versions 1.0.2 Follow0
Install and configure nginx web server
cookbook 'ngx', '= 1.0.2'
knife supermarket install ngx
knife supermarket download ngx
ngx cookbook
A cookbook to provide resources to install, configure and run nginx web server. Wraps nginx cookbook.
Recipes
ngx::default
Install nginx from source, either stable
or mainline
version (this is specified in node['ngx']['install']
attribute, which defaults to stable
).
Additionally, the following attributes may be utilised so as to compile nginx with extra modules/options:
- node['ngx']['with_openssl']
- ngx_http_ssl_module with openssl built from source, default true
;
- node['ngx']['with_http2']
- ngx_http_v2_module, default true
;
- node['ngx']['with_ipv6']
- IPv6 support, default true
;
- node['ngx']['with_ct']
- nginx-ct module, default true
;
- node['ngx']['with_headers_more']
- ngx_headers_more module, default true
;
- node['ngx']['with_status']
- [ngx_http_stub_status_module](ngx_http_stub_status_module), default false
;
- node['ngx']['with_realip']
- ngx_http_realip_module, default false
;
- node['ngx']['with_geoip2']
- ngx_http_geoip2_module, default false
;
- node['ngx']['with_secure_link']
- ngx_http_secure_link_module, default false
;
- node['ngx']['with_njs']
- ngx_http_js_module, default false
;
- node['ngx']['with_debug']
- debugging support, default false
;
- node['ngx']['with_devel_kit']
- ngx_devel_kit, default false
;
- node['ngx']['with_lua']
- ngx_http_lua_module, default false
. If set to true
, ngx_devel_kit
will also be installed.
Testing
Run script/bootstrap
to install necessary Ruby Gems.
Run script/test
to perform KitchenCI tests.
License
MIT @ Alexander Pyatkin
Dependent cookbooks
nginx >= 8.1.2 |
dhparam ~> 1.0.0 |
libmaxminddb ~> 1.0.0 |
logrotate ~> 2.2.0 |
Contingent cookbooks
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
[1.0.2] - 2018-06-15
Added
- Support compiling nginx with ngx_http_lua_module.
[1.0.1] - 2018-06-14
Added
- Add a CHANGELOG file.
- Add
ngx:test
recipe so as to verifynginx -V
output during Kitchen tests. - Support compiling nginx with ngx_devel_kit module.
[1.0.0] - 2018-06-11
First appearance in public.
Added
- Upload the cookbook to Chef Supermarket.
Deprecated
- The project supersedes modern_nginx.
Collaborator Number Metric
1.0.2 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.2 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.2 passed this metric
No Binaries Metric
1.0.2 passed this metric
Publish Metric
1.0.2 passed this metric
Supported Platforms Metric
1.0.2 passed this metric
Testing File Metric
1.0.2 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.2 passed this metric
1.0.2 failed this metric
1.0.2 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.2 passed this metric
No Binaries Metric
1.0.2 passed this metric
Publish Metric
1.0.2 passed this metric
Supported Platforms Metric
1.0.2 passed this metric
Testing File Metric
1.0.2 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.2 passed this metric
1.0.2 passed this metric
1.0.2 passed this metric
Publish Metric
1.0.2 passed this metric
Supported Platforms Metric
1.0.2 passed this metric
Testing File Metric
1.0.2 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.2 passed this metric
1.0.2 passed this metric
1.0.2 passed this metric
Testing File Metric
1.0.2 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.2 passed this metric
1.0.2 failed this metric
1.0.2 passed this metric