Skip to content

Commit

Permalink
Refactor ingress configuration to use HTTP as backend protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlahbib committed Nov 17, 2024
1 parent 054ee8e commit 17f6a21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions terraform/ingress.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ resource "kubernetes_ingress_v1" "dev-ingress" {
annotations = {
"nginx.ingress.kubernetes.io/ssl-redirect" = "false"
"nginx.ingress.kubernetes.io/force-ssl-redirect" = "false"
"nginx.ingress.kubernetes.io/backend-protocol" = "HTTPS"
"nginx.ingress.kubernetes.io/backend-protocol" = "HTTP"
}
}

Expand Down Expand Up @@ -86,7 +86,7 @@ resource "kubernetes_ingress_v1" "prod-ingress" {
annotations = {
"nginx.ingress.kubernetes.io/ssl-redirect" = "false"
"nginx.ingress.kubernetes.io/force-ssl-redirect" = "false"
"nginx.ingress.kubernetes.io/backend-protocol" = "HTTPS"
"nginx.ingress.kubernetes.io/backend-protocol" = "HTTP"
}
}

Expand Down Expand Up @@ -128,7 +128,7 @@ resource "kubernetes_ingress_v1" "monitoring-ingress" {
annotations = {
"nginx.ingress.kubernetes.io/ssl-redirect" = "false"
"nginx.ingress.kubernetes.io/force-ssl-redirect" = "false"
"nginx.ingress.kubernetes.io/backend-protocol" = "HTTPS"
"nginx.ingress.kubernetes.io/backend-protocol" = "HTTP"
}
}

Expand Down

0 comments on commit 17f6a21

Please sign in to comment.