the middle of the idiots
This commit is contained in:
37
qwen/hack/k8s/ingress.yaml
Normal file
37
qwen/hack/k8s/ingress.yaml
Normal file
@@ -0,0 +1,37 @@
|
||||
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
|
||||
Reference in New Issue
Block a user