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
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue