HTTP redirect chain
154-http-redirect-chain.yaml
Infrastructure
What this example does
HTTP redirect chain.
Checks and behavior
- Checks redirect policy and destination.
Replace example.com, documentation IPs, secrets and thresholds before production use.
YAML configuration
# Checks redirect policy and destination.
name: HTTP redirect chain
url: http://example.com/
request: {method: GET, follow_redirects: true}
tests:
status: {allow: [200]}
redirects:
max_count: 3
require_https: true
allowed_hosts: [example.com, www.example.com]
monitoring: {output: nagios, on_failure: critical}