remove searchix
1 file changed, 0 insertions(+), 90 deletions(-)
changed files
M Caddyfile → Caddyfile
@@ -59,28 +59,6 @@ cache header -Server } -(rate_limit) { - rate_limit { - distributed - zone global_static { - match { - query query=* - } - key static - events 100 - window 1m - } - zone host_dynamic { - match { - query query=* - } - key {remote_host} - events 5 - window 10s - } - } -} - flynet-butterfly-1123.fly.dev { respond "Hello, world!" }@@ -128,71 +106,3 @@ header_up Host {hostport} header_down -Alt-Svc } } - -searchix.ovh { - import cache - import rate_limit - - goatcounter { - api_host https://stats.searchix.ovh - site stats.searchix.ovh - token {$GOATCOUNTER_TOKEN} - } - - reverse_proxy { - to https://smrk.alin.ovh https://home.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 5s - health_fails 2 - - # passive health checks - max_fails 5 - fail_duration 30s - unhealthy_status 5xx - } -} - -stable.searchix.ovh { - import cache - import rate_limit - - goatcounter { - api_host https://stats.stable.searchix.ovh - site stats.stable.searchix.ovh - token {$GOATCOUNTER_TOKEN} - } - - 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 5s - health_fails 2 - - # passive health checks - max_fails 5 - fail_duration 30s - unhealthy_status 5xx - } -}