Change to ssl passthrough

This commit is contained in:
Ruben Hensen
2024-09-09 15:01:31 +02:00
parent bbb0ede2a0
commit e4a31d7533
+7 -2
View File
@@ -3,8 +3,13 @@ kind: Ingress
metadata:
name: argocd-server-ingress
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
# nginx.ingress.kubernetes.io/rewrite-target: /
cert-manager.io/cluster-issuer: prod-cluster-issuer
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
# If you encounter a redirect loop or are getting a 307 response code
# then you need to force the nginx ingress to connect to the backend using HTTPS.
#
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
namespace: argocd
spec:
ingressClassName: nginx
@@ -18,7 +23,7 @@ spec:
service:
name: argocd-server
port:
name: http
name: https
# TLS configuration for HTTPS
tls: