cookbook 'ngx', '~> 1.2.1', :supermarket
ngx (9) Versions 1.2.1 Follow0
Install and configure Nginx
cookbook 'ngx', '~> 1.2.1'
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_headers_more']
- ngx_headers_more module, default false
;
- 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_gzip_static']
- ngx_http_gzip_static_module, default false
;
- node['ngx']['with_brotli']
- ngx_brotli, 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
logrotate ~> 2.2.0 |
libmaxminddb ~> 1.0.1 |
dhparam ~> 1.0.1 |
nginx ~> 9.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
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.2.1] - 2019-02-04
Changed
- Ensure GeoLite2 databases are always up-to-date.
[1.2.0] - 2019-01-27
Added
- Add
ngx_http_gzip_static_module
module. - Add
ngx_brotli
module.
Changed
- Update nginx mainline version to 1.15.8 and stable version to 1.14.2.
- Update GeoLite2 database file checksums.
- Update OpenSSL and njs versions.
- Change
main_ext
log_format name tocombined_ext
.
Removed
- Remove nginx-ct module.
[1.1.1] - 2018-09-09
Changed
- Update nginx mainline version to 1.15.3.
- Update GeoLite2 database file checksums.
[1.1.0] - 2018-08-17
Changed
- Update nginx mainline version to 1.15.2.
- Update njs version to 0.2.3.
- Update OpenSSL version to 1.1.0i.
- Update
ngx_http_geoip2_module
version to 3.0. -
with_ct
option is nowfalse
by default. -
with_headers_more
option is nowfalse
by default.
[1.0.3] - 2018-08-05
Added
- Add
main_ext
log format (suitable for Nginx Amplify agent)
[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.2.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.2.1 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.2.1 failed this metric
FC064: Ensure issues_url is set in metadata: ngx/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.2.1 passed this metric
Publish Metric
1.2.1 passed this metric
Supported Platforms Metric
1.2.1 passed this metric
Testing File Metric
1.2.1 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.2.1 passed this metric
1.2.1 failed this metric
1.2.1 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.2.1 failed this metric
FC064: Ensure issues_url is set in metadata: ngx/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.2.1 passed this metric
Publish Metric
1.2.1 passed this metric
Supported Platforms Metric
1.2.1 passed this metric
Testing File Metric
1.2.1 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.2.1 passed this metric
1.2.1 failed this metric
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.2.1 passed this metric
Publish Metric
1.2.1 passed this metric
Supported Platforms Metric
1.2.1 passed this metric
Testing File Metric
1.2.1 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.2.1 passed this metric
1.2.1 passed this metric
1.2.1 passed this metric
Testing File Metric
1.2.1 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.2.1 passed this metric
1.2.1 failed this metric
1.2.1 passed this metric