pferrer-pdpaola commented on issue #10192:
URL: https://github.com/apache/apisix/issues/10192#issuecomment-1719222447
This is an example of the configuration of one upstream:
{
"nodes": [
{
"host": "test-sysadmin-ha-01.domain.com",
"port": 443,
"weight": 1
},
{
"host": "test-sysadmin-ha-02.domain.com",
"port": 443,
"weight": 1
}
],
"timeout": {
"connect": 600,
"send": 600,
"read": 600
},
"type": "roundrobin",
"checks": {
"active": {
"concurrency": 2,
"healthy": {
"http_statuses": [
200,
302
],
"interval": 5,
"successes": 2
},
"host": "test-sysadmin.domain.com",
"http_path": "/index.html",
"https_verify_certificate": true,
"port": 443,
"timeout": 5,
"type": "https",
"unhealthy": {
"http_failures": 5,
"http_statuses": [
429,
404,
500,
501,
502,
503,
504,
505
],
"interval": 5,
"tcp_failures": 5,
"timeouts": 5
}
},
"passive": {
"healthy": {
"http_statuses": [
200,
201,
202,
203,
204,
205,
206,
207,
208,
226,
300,
301,
302,
303,
304,
305,
306,
307,
308
],
"successes": 5
},
"type": "https",
"unhealthy": {
"http_failures": 5,
"http_statuses": [
429,
500,
503,
404
],
"tcp_failures": 5,
"timeouts": 5
}
}
},
"scheme": "https",
"pass_host": "pass",
"name": "TEST SYSADMIN",
"desc": "CON ALTA DISPONIBILIDAD",
"keepalive_pool": {
"idle_timeout": 60,
"requests": 1000,
"size": 320
}
}
> Here do you mean Host 1 nginx routes to ms1-1 and Host 2 nginx routes to
ms1-2? In other words, NGINX services are _in front of_ these upstream
miscroservices, correct?
Yes, but ms2-1 and ms2-2 point to the same IP addresses as ms1-1 and ms2-2.
The microservices are hosted on nginx (Laravel projects).
--
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]