ericzxj commented on issue #12827: URL: https://github.com/apache/apisix/issues/12827#issuecomment-3680857498
> This configuration does not include any health check related settings. Please refer to https://docs.api7.ai/apisix/how-to-guide/traffic-management/health-check/ { "name": "health-checked-upstream", "type": "roundrobin", "nodes": [ { "host": "127.0.0.1", "port": 8000, "weight": 1 } ], "checks": { "active": { "type": "tcp", "http_path": "/kong/health", "host": "127.0.0.1:8000", "headers": { "Host": "127.0.0.1:8000", "User-Agent": "APISIX/Health-Check" }, "timeout": 5, "concurrency": 1, "healthy": { "interval": 2, "successes": 1, "http_statuses": [200, 302] }, "unhealthy": { "interval": 1, "http_failures": 2, "http_statuses": [400, 404, 500, 502, 503, 504], "tcp_failures": 2, "timeouts": 2 } }, "passive": { "healthy": { "http_statuses": [200, 201, 202, 204, 301, 302] }, "unhealthy": { "http_statuses": [400, 404, 500, 502, 503, 504], "http_failures": 3 } } }, "timeout": { "connect": 6, "send": 6, "read": 6 } } 试过这样也是不行,还是有上面400的报错 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
