cookbook 'redirect', '= 1.4.1'
redirect
(19) Versions
1.4.1
-
Follow0
Create Nginx host to redirect to another website
cookbook 'redirect', '= 1.4.1', :supermarket
knife supermarket install redirect
knife supermarket download redirect
redirect-cookbook
Create Nginx host to redirect to another website
Usage
Resource
redirect_host 'www.domain.tld' do target 'domain.tld' listen_ipv6 true # listen on IPv6 address (default: true) secure true # redirect to HTTPS (default: true) permanent false # either 301 or 302 HTTP code (default: false) pass_request_uri true # redirect with path and arguments (default: false) ec_certificates true # use EC certificates along with RSA ones (default: false) end
Recipe
Add recipe[redirect::default]
to your run list and specify redirect hosts in node attributes:
{ "redirect": { "hosts": [ { "fqdn": "www.domain.tld", "target": "domain.tld", "listen_ipv6": true, "secure": true, "permanent": false, "pass_request_uri": true, "ec_certificates": true } ] } }
License
MIT @ Alexander Pyatkin
Dependent cookbooks
nginx >= 0.0.0 |
tls ~> 3.0.3 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.
[1.4.0] - 2018-08-17
Added
- Add CHANGELOG
Collaborator Number Metric
1.4.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.4.1 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.4.1 passed this metric
No Binaries Metric
1.4.1 passed this metric
Testing File Metric
1.4.1 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.4.1 passed this metric
1.4.1 failed this metric
1.4.1 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.4.1 passed this metric
No Binaries Metric
1.4.1 passed this metric
Testing File Metric
1.4.1 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.4.1 passed this metric
1.4.1 passed this metric
1.4.1 passed this metric
Testing File Metric
1.4.1 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.4.1 passed this metric
1.4.1 failed this metric
1.4.1 passed this metric