mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
k8s
This commit is contained in:
parent
41af67be53
commit
10da5beb5a
@ -33,8 +33,8 @@ metadata:
|
||||
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
|
||||
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
|
||||
# 使用重写后的路径进行路由
|
||||
# nginx.ingress.kubernetes.io/use-regex: "true"
|
||||
# nginx.ingress.kubernetes.io/rewrite-target: "/$1"
|
||||
nginx.ingress.kubernetes.io/use-regex: "true"
|
||||
nginx.ingress.kubernetes.io/rewrite-target: "/$1"
|
||||
name: msg-gateway-ingress
|
||||
spec:
|
||||
rules:
|
||||
@ -46,8 +46,7 @@ spec:
|
||||
name: msg-gateway
|
||||
port:
|
||||
number: 10001
|
||||
# path: /msg-gateway/(.*)
|
||||
path: /
|
||||
path: /msg-gateway/(.*)
|
||||
pathType: Prefix
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
|
Loading…
x
Reference in New Issue
Block a user