This cookbook installs and runs caddy webserver https://caddyserver.com
ark
| Key | Type | Description | Default |
|---|---|---|---|
| ['caddy']['features'] | Array | features to download and install with caddy | [] |
| ['caddy']['email'] | String | email to use with registration in letsencryt | nil |
| ['caddy']['hosts'] | Hash | Caddyfile in form of Hash | {} |
Set your eMail to register with letsencryt for HTTPS Support
{
'localhost:80' => {
'log' => 'localhost.log'
}
'localhost:8080' => {
'log' => 'localhost_alt.log'
}
}Add features to be downloaded, e.g.
['cors','git']then include caddy in your node's run_list:
{
"name":"my_node",
"run_list": [
"recipe[caddy]"
]
}TODO: (optional) If this is a public cookbook, detail the process for contributing. If this is a private cookbook, remove this section.
e.g.
- Fork the repository on Github
- Create a named feature branch (like
add_component_x) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
Authors: TODO: List authors