Fix: Add correct annotation to ingress

This commit is contained in:
2026-05-07 18:36:24 -04:00
parent 4fe8b19d19
commit 7c57629941

View File

@@ -5,9 +5,10 @@ metadata:
namespace: reactbin
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
kubernetes.io/tls-acme: "true"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
spec:
ingressClassName: nginx
ingressClassName: nginx-public
tls:
- hosts:
- reactbin.juggalol.com
@@ -16,7 +17,6 @@ spec:
- host: reactbin.juggalol.com
http:
paths:
# /api/ must appear before / — nginx evaluates paths in declaration order
- path: /api/
pathType: Prefix
backend:
@@ -30,4 +30,4 @@ spec:
service:
name: ui
port:
number: 8080
number: 8080