cookbook 'ngx', '= 1.0.0'
ngx (16) Versions 1.0.0 Follow0
Install and configure nginx web server
cookbook 'ngx', '= 1.0.0', :supermarket
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
Testing
Run script/bootstrap to install necessary Ruby Gems.
Run script/test to perform KitchenCI tests.
License
MIT @ Alexander Pyatkin
Dependent cookbooks
| nginx >= 0.0.0 |
| dhparam ~> 1.0.0 |
| libmaxminddb ~> 1.0.0 |
| logrotate ~> 2.2.0 |
Contingent cookbooks
License Metric
1.0.0 passed this metric
1.0.0 passed this metric