add stable searchix host
1 file changed, 34 insertions(+), 0 deletions(-)
changed files
M Caddyfile → Caddyfile
@@ -117,3 +117,37 @@ fail_duration 30s unhealthy_status 5xx } } + +stable.searchix.ovh { + import cache + import dns01 + + goatcounter { + api_host {$GOATCOUNTER_API_HOST} + token "{$GOATCOUNTER_TOKEN}" + site stats.stable.searchix.ovh + } + + reverse_proxy { + to https://smrk.alin.ovh + lb_policy first + + header_up Host {hostport} + header_down -Alt-Svc + + # active health checks (service running) + health_uri /health + health_headers { + Host {hostport} + } + health_status 2xx + health_interval 10s + health_timeout 2s + health_fails 2 + + # passive health checks + max_fails 5 + fail_duration 30s + unhealthy_status 5xx + } +}