mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
SSL healthcheck
This commit is contained in:
@@ -1825,7 +1825,7 @@ backend {{backend.name}}
|
||||
{# # 2. in health checks: to verify *only* health check communication to this server #}
|
||||
{# # When 1. is enabled, health checks are automatically secured. #}
|
||||
{# # Use-case for 2: when using TCP for server communication, but HTTPS for health checks. #}
|
||||
{% if server_data.ssl|default("") == '1' or (healthcheck_enabled == '1' and healthcheck_data.force_ssl|default('') == '1') %}
|
||||
{% if server_data.ssl|default("") == '1' or (healthcheck_enabled == '1' and (healthcheck_data.ssl|default('') == 'ssl' or healthcheck_data.ssl|default('') == 'sslsni')) %}
|
||||
{# # get status of ssl verification #}
|
||||
{% set ssl_verify_enabled = '0' %}
|
||||
{% if helpers.exists('OPNsense.HAProxy.general.tuning.sslServerVerify') and OPNsense.HAProxy.general.tuning.sslServerVerify|default("") != 'ignore' %}
|
||||
|
||||
Reference in New Issue
Block a user