mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 09:01:38 +00:00
improve rewrite rules
This commit is contained in:
parent
964777c21d
commit
37a7a6a9a3
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue