Open investlab opened 4 years ago
This is my config:
upstream appserver { server 10.0.16.46:8080 weight=1; server 10.0.16.48:8080 weight=1; check interval=3000 rise=2 fall=5 timeout=1000 port=8080 type=http; check_http_send "GET /healthcheck HTTP/1.0\r\n\r\n"; check_http_expect_alive http_2xx; } server { listen 8099 ; server_name _default; access_log /var/log/nginx/apicore.alipay.cn_access.log main; error_log /var/log/nginx/apicore.alipay.cn_error.log; location / { proxy_pass http://appserver; } location /status { check_status; access_log on; } }
But Upstream check doesn't work and /status respone 500. Is my config correct or not?
I too have noticed that 10.x.x.x addresses don't get health checked for some reason.
Anyone can help meeee!!!
This is my config:
----------------------------------------------------
----------------------------------------------------
But Upstream check doesn't work and /status respone 500. Is my config correct or not?