This commit is contained in:
wangchuxiao 2022-05-30 20:46:53 +08:00
parent 810b08c50d
commit b892749c75

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: