4beab3b687
Co-authored-by: Copilot <copilot@github.com> --------- Co-authored-by: shahdlala66 <shahd.lala66@gmail.com> Reviewed-on: #119 Co-authored-by: Shahd Lala <shosho996@blackhole.local> Co-committed-by: Shahd Lala <shosho996@blackhole.local>
55 lines
1.5 KiB
YAML
55 lines
1.5 KiB
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: nowchess-ingress
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
|
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
|
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
|
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
|
|
spec:
|
|
ingressClassName: nginx
|
|
rules:
|
|
- host: nowchess.janis-eccarius.de
|
|
http:
|
|
paths:
|
|
- path: /api/account
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: nowchess-account-active
|
|
port:
|
|
number: 8083
|
|
- path: /ws
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: nowchess-ws-active
|
|
port:
|
|
number: 8084
|
|
- path: /api/store
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: nowchess-store-active
|
|
port:
|
|
number: 8085
|
|
- path: /api
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: nowchess-core-active
|
|
port:
|
|
number: 8080
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: nowchess-frontend-active
|
|
port:
|
|
number: 80
|
|
tls:
|
|
- hosts:
|
|
- nowchess.janis-eccarius.de
|
|
secretName: nowchess-ingress-cert
|