nginx_upstream_check_module icon indicating copy to clipboard operation
nginx_upstream_check_module copied to clipboard

Healthcheck test https backend

Open stuartornum opened this issue 10 years ago • 2 comments

I'm using the latest version of this module with v1.8.0 of nginx.

  • nginx + SSL running on a VPS in the USA (load balancer)
  • Application server running on a VPS in Europe, also behind an nginx with SSL (app server)

The traffic being sent from load balancer to app server must go over SSL - hence nginx on both servers

I am trying to get http healthcheck from this module working - however, I believe because I'm sending to a HTTPS backend, is why I'm having problems.

Here is my config file: https://gist.github.com/stuartornum/efe8bdf72c0c4395aaaf

Any help would be great,

Thanks

stuartornum avatar Jul 22 '15 19:07 stuartornum

idem behaviour

my config is:

upstream ssltestdomaincom { least_conn; server xxx.xxx.xxx.xxx:443 max_fails=3 fail_timeout=5s; check interval=3000 rise=1 fall=3 timeout=10000 port=443 type=http; #try this but it doesn't work too #check_http_send "GET /balancer.htm HTTP/1.1\r\n\r\n"; check_http_send "GET /balancer.htm HTTP/1.1\r\nHost:ssl.testdomain.com\r\n\r\n"; }

daveres avatar Aug 24 '15 14:08 daveres

HTTPS support would be great.

edevil avatar Jan 04 '22 16:01 edevil