improve rewrite rules

This commit is contained in:
Gerrit Gogel 2024-01-08 22:14:55 +01:00
parent 964777c21d
commit 37a7a6a9a3

View file

@ -28,20 +28,13 @@ spec:
name: seafile-server
port:
number: 8082
- path: /seafdav(/|$)(.*)
- path: /()(seafdav.*)
pathType: Prefix
backend:
service:
name: seafile-server
port:
number: 8080
- path: /notification/ping(/|$)(.*)
pathType: Prefix
backend:
service:
name: seafile-server
port:
number: 8083
- path: /notification(/|$)(.*)
pathType: Prefix
backend:
@ -49,7 +42,7 @@ spec:
name: seafile-server
port:
number: 8083
- path: /media
- path: /()(media.*)
pathType: Prefix
backend:
service: