mirror of
https://github.com/TheAnachronism/docspell.git
synced 2024-11-13 02:31:10 +00:00
33 lines
815 B
YAML
33 lines
815 B
YAML
|
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
|