From 37a7a6a9a335158d101d7ff7aea0952f7bb08e7d Mon Sep 17 00:00:00 2001 From: Gerrit Gogel Date: Mon, 8 Jan 2024 22:14:55 +0100 Subject: [PATCH] improve rewrite rules --- k8s/seafile-ingress.yaml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/k8s/seafile-ingress.yaml b/k8s/seafile-ingress.yaml index 2af4c85..b564e5e 100644 --- a/k8s/seafile-ingress.yaml +++ b/k8s/seafile-ingress.yaml @@ -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: