-
Notifications
You must be signed in to change notification settings - Fork 486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need support for https health check endpoint #253
Comments
any updates? |
Our workaround is to serve the actual traffic via https, but make healthchecks on http endpoint (using port=80 type=http parameters of check directive). Your application would need to provide both endpoints for this to work, though |
but how you configure it in case of your backend servers serve HTTPS, but /healthcheck uri server HTTP? location /my_https_service { location /healthCheck { upstream my_https_pool { upstream my_http_pool { |
@vsfomin, there is no need to define location /healthCheck and the separate upstream pool for http. 'check' directive supports the parameter 'port=', overriding the original servers' port for making healthchecks. so it should look like this:
|
Currently we have support for endpoint type http but most of the time application export https API which can not be used as health check endpoint with is plugin. At least I have not been able to feature out. We have type ssl_hello but this serves different purpose.
The text was updated successfully, but these errors were encountered: