Fix: Add correct annotation to ingress
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user