Skip to content

Commit

Permalink
Fix for eikek#2498. Removed large ingress paths, that didn't link to …
Browse files Browse the repository at this point in the history
…any services.
  • Loading branch information
TheAnachronism committed Feb 15, 2024
1 parent 5343fa7 commit 0e38817
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions kubernetes/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,15 @@ 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(/|$)(.*)
- path: /
pathType: Prefix
backend:
service:
name: docspell-restserver
name: 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

0 comments on commit 0e38817

Please sign in to comment.