Skip to content
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

feat(healthchecks) add support for HTTPS in active health checks #3815

merged 4 commits into from Oct 1, 2018
Commits on Oct 1, 2018
  1. feat(schema) adds `sni` typedef validating hostnames

    hishamhm committed Oct 1, 2018
    Introduces `typedefs.sni` for verifying the validity of hostnames.
  2. chore(deps) bump lua-resty-healthchecks to 0.6.0

    hishamhm committed Sep 28, 2018
    Adds support to `https_verify_certificate` field.
  3. feat(healthchecks) add support for HTTPS in active health checks

    hishamhm committed Sep 29, 2018
    * Introduces three new fields to `active` healthchecks configuration:
      * `type` ("tcp", "http" or "https", mirrorring lua-resty-healthcheck)
      * `https_verify_certificate` (boolean, mirrorring lua-resty-healthcheck)
      * `https_sni` - explicitly give an SNI, overriding the hostname configured
        in the Target
    * Adds tests using HTTPS, based on lua-http
      * lua-http is used for HTTPS tests, the mock server based on
        LuaSocket remains used for HTTP tests for performance reasons
        (faster startup on separate threads which are repeatedly spawned
        for various short-lived tests)
      * This commit also updates the certs in spec/fixtures, which were
You can’t perform that action at this time.