From 8ca13f3bcb7c72d9e36f8387c1f525e4c3aecb91 Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Sun, 10 Oct 2021 02:54:53 +0200
Subject: [PATCH] nginx-ingress: Fix loadbalancer healthcheck

---
 terraform/loadbalancer.tf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/terraform/loadbalancer.tf b/terraform/loadbalancer.tf
index 4fbb95169..cec66e1a5 100644
--- a/terraform/loadbalancer.tf
+++ b/terraform/loadbalancer.tf
@@ -40,7 +40,7 @@ resource "hcloud_load_balancer_service" "lb_ingress_http" {
 
   health_check {
     protocol = "tcp"
-    port     = 80
+    port     = 32080
     interval = 10
     timeout  = 1
     retries  = 3
@@ -55,7 +55,7 @@ resource "hcloud_load_balancer_service" "lb_ingress_https" {
 
   health_check {
     protocol = "tcp"
-    port     = 443
+    port     = 32443
     interval = 10
     timeout  = 1
     retries  = 3
-- 
GitLab