|
|
@ -43,7 +43,6 @@ metadata:
|
|
|
|
proxy_set_header Connection "upgrade";
|
|
|
|
proxy_set_header Connection "upgrade";
|
|
|
|
proxy_cache_bypass $http_upgrade;
|
|
|
|
proxy_cache_bypass $http_upgrade;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
# 使用重写后的路径进行路由
|
|
|
|
|
|
|
|
# nginx.ingress.kubernetes.io/use-regex: "true"
|
|
|
|
# nginx.ingress.kubernetes.io/use-regex: "true"
|
|
|
|
# nginx.ingress.kubernetes.io/rewrite-target: "/$1"
|
|
|
|
# nginx.ingress.kubernetes.io/rewrite-target: "/$1"
|
|
|
|
name: msg-gateway-ingress
|
|
|
|
name: msg-gateway-ingress
|
|
|
|