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