From 24b4913118db606d097228df88668c2dfaa3d038 Mon Sep 17 00:00:00 2001
From: "Antoine R. Dumont (@ardumont)" <ardumont@softwareheritage.org>
Date: Thu, 19 Oct 2023 15:27:13 +0200
Subject: [PATCH] staging/web: Drop force-ssl-redirect

Otherwise, when hitting this as the reverse proxy backend, we hit a 308 loop (too many
redirects).

Refs. swh/infra/sysadm-environment#5095
---
 swh/values/staging/swh.yaml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/swh/values/staging/swh.yaml b/swh/values/staging/swh.yaml
index b1df6a9d2..e11d3e6ab 100644
--- a/swh/values/staging/swh.yaml
+++ b/swh/values/staging/swh.yaml
@@ -645,7 +645,6 @@ web:
       cert-manager.io/cluster-issuer: letsencrypt-production-gandi
       kubernetes.io/ingress.class: nginx
       kubernetes.io/tls-acme: "true"
-      nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
     tlsEnabled: true
     whitelistSourceRangeRef: stagingNetworkRanges
     endpoints:
-- 
GitLab