Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

nginx_fallback_to_apache (2) Versions 1.0.0

Create a default site in Nginx that matches unhandled hosts and proxy them to Apache

Policyfile
Berkshelf
Knife
cookbook 'nginx_fallback_to_apache', '= 1.0.0', :supermarket
cookbook 'nginx_fallback_to_apache', '= 1.0.0'
knife supermarket install nginx_fallback_to_apache
knife supermarket download nginx_fallback_to_apache
README
Dependencies
Quality -%

nginx_fallback_to_apache Cookbook

Create a default site in Nginx that matches unhandled hosts and proxy them to Apache

Attributes

nginx_fallback_to_apache::default

<table>
<tr>
<th>Attribute</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>node[:nginx_fallback_to_apache][:nginx_port]</tt></td>
<td>The main port Nginx is listening</td>
<td><tt>node[:nginx][:listen_ports].first</tt></td>
</tr>
<tr>
<td><tt>node[:nginx_fallback_to_apache][:apache_port]</tt></td>
<td>The main port Apache is listening</td>
<td><tt>node[:apache][:listen_ports].first</tt></td>
</tr>
</table>

Usage

nginx_fallback_to_apache::default

Just include nginx\_fallback\_to\_apache in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[nginx_fallback_to_apache]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

Dependent cookbooks

nginx >= 0.0.0
apache2 >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found