37 lines
874 B
YAML
37 lines
874 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: moh-ingress
|
|
namespace: merchantsofhope
|
|
annotations:
|
|
nginx.ingress.kubernetes.io/rewrite-target: /
|
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
|
nginx.ingress.kubernetes.io/rate-limit: "100"
|
|
nginx.ingress.kubernetes.io/rate-limit-window: "1m"
|
|
spec:
|
|
tls:
|
|
- hosts:
|
|
- merchantsofhope.org
|
|
- api.merchantsofhope.org
|
|
secretName: merchantsofhope-tls
|
|
rules:
|
|
- host: merchantsofhope.org
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: moh-app-service
|
|
port:
|
|
number: 80
|
|
- host: api.merchantsofhope.org
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: moh-app-service
|
|
port:
|
|
number: 80 |