docspell/kubernetes/ingress.yaml

33 lines
815 B
YAML
Raw Normal View History

2023-04-09 20:19:26 +00:00
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: docspell-ingress
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$1
spec:
rules:
- host: docspell.example.com
http:
paths:
- path: /restserver(/|$)(.*)
pathType: Prefix
backend:
service:
name: docspell-restserver
port:
name: http
- path: /joex(/|$)(.*)
pathType: Prefix
backend:
service:
name: docspell-joex
port:
name: http
- path: /solr(/|$)(.*)
pathType: Prefix
backend:
service:
name: docspell-solr
port:
name: solr