If you want `apisix-ingress-controller` to support the websocket definition with k8s ingress resource, I think the proposal is good, and you are welcome to add this function to `apisix-ingress-controller`.
But I still hope you can directly use `ApisixRoute` CRD to configure, after all, the implementation mechanism of APISIX is still very different from Nginx. lxm <lxm.x...@gmail.com> 于2021年12月7日周二 15:11写道: > Or how about enable websocket for all paths by default like > nginx-ingress-controller > > -- > Sent from Canary (https://canarymail.io) > > > On 星期四, 12月 02, 2021 at 2:48 下午, lxm lxm <lxm.x...@gmail.com (mailto: > lxm.x...@gmail.com)> wrote: > > use the websocket through ingress. > > > > currently, websocket is disabled by default. > > Chao Zhang <tok...@apache.org (mailto:tok...@apache.org)> 于2021年12月2日周四 > 上午9:49写道: > > > Hi, > > > > > > In which way you want to use the web socket, through Ingress or > ApisixRoute? If it’s the latter, we have a field to enable it, see > https://apisix.apache.org/docs/ingress-controller/concepts/apisix_route/#websocket-proxy > for details. > > > > > > > > > On December 1, 2021 at 20:09:17, lxm lxm (lxm.x...@gmail.com (mailto: > lxm.x...@gmail.com)) wrote: > > > > > > > hi,community > > > > > > > > currently, apisix ingress controller disabled websocket support for > all > > > > paths, how about add an annotation to enable websocket support >