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
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 passed this metric
        
  
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 passed this metric
        
  
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 passed this metric
        
  
1.0.0 failed this metric
            1.0.0 passed this metric