# Domain Configs Domain configs let you define per-domain scraping strategies. When a URL is scraped, the server checks if a matching domain config exists and applies its settings — handler selection, timeouts, retries, content validation, custom headers, and more. ## Quick Example Block a domain: ```bash curl -X POST http://localhost:8080/v1/domain-configs \ -H "Content-Type: application/json" \ -d '{ "domain": "example.com", "blocked": true, "blockedReason": "Terms of service" }' ``` Force browser-only scraping with failure detection: ```bash curl -X POST http://localhost:8080/v1/domain-configs \ -H "Content-Type: application/json" \ -d '{ "domain": "linkedin.com", "handlerChain": ["browser"], "requestTimeoutMs": 45000, "maxRetries": 3, "failurePatterns": ["captcha", "Sign in to continue", "authwall"], "requiredPatterns": ["403` — Forbidden pages that return 200 ### Required Patterns Regex patterns where **at least one** must match for the content to be valid. Use this to verify the page actually loaded the expected content. ```json { "requiredPatterns": [ "