Skip to content
This repository was archived by the owner on Mar 30, 2026. It is now read-only.

Commit 3f803c4

Browse files
authored
fix: Healthcheck protocol (#36)
1 parent c74db3a commit 3f803c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

clickhouse/nlb.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ resource "aws_lb_target_group" "clickhouse_http_nlb_target_group" {
7878
health_check {
7979
enabled = true
8080
port = var.enable_encryption ? var.https_port : var.http_port
81-
protocol = "HTTP"
81+
protocol = var.enable_encryption ? "HTTPS" : "HTTP"
8282
path = "/ping"
8383
healthy_threshold = 3
8484
unhealthy_threshold = 3

0 commit comments

Comments
 (0)