cookbook 'caddy', '= 0.3.0'
caddy (5) Versions 0.3.0 Follow4
Installs/Configures caddy
cookbook 'caddy', '= 0.3.0', :supermarket
knife supermarket install caddy
knife supermarket download caddy
caddy Cookbook
This cookbook installs and runs caddy webserver https://caddyserver.com
Requirements
cookbooks
ark
Attributes
caddy::default
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['caddy']['features']</tt></td>
<td>Array</td>
<td>features to download and install with caddy</td>
<td><tt>[]</tt></td>
</tr>
<tr>
<td><tt>['caddy']['email']</tt></td>
<td>String</td>
<td>email to use with registration in letsencryt</td>
<td><tt>nil</tt></td>
</tr>
<tr>
<td><tt>['caddy']['hosts']</tt></td>
<td>Hash</td>
<td>Caddyfile in form of Hash</td>
<td><tt>{}</tt></td>
</tr>
</table>
Usage
caddy::default
Set eMail - ['caddy']['email']
Set your eMail to register with letsencryt for HTTPS Support
Write your Caddyfile - ['caddy']['hosts']
{ 'localhost:80' => { 'log' => 'localhost.log' } 'localhost:8080' => { 'log' => 'localhost_alt.log' } }
(Optional} Add features
Add features to be downloaded, e.g.
ruby
['cors','git']
then include caddy
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[caddy]" ] }
Contributing
TODO: (optional) If this is a public cookbook, detail the process for contributing. If this is a private cookbook, remove this section.
e.g.
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
License and Authors
Authors: TODO: List authors
Dependent cookbooks
ark >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
caddy CHANGELOG
This file is used to list changes made in each version of the caddy cookbook.
0.1.0
- [your_name] - Initial release of caddy
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.
Foodcritic Metric
0.3.0 passed this metric
0.3.0 passed this metric