This commit is contained in:
wangchuxiao 2022-05-30 20:46:53 +08:00 committed by Xinwei Xiong(cubxxw-openim)
parent 9553b4056e
commit 7e28c27f2a

View File

@ -44,8 +44,8 @@ metadata:
proxy_cache_bypass $http_upgrade;
}
# 使用重写后的路径进行路由
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: