higress icon indicating copy to clipboard operation
higress copied to clipboard

从请求的url参数里读取key-value并将这个value值作为目的地址进行转发

Open whitebear009 opened this issue 8 months ago • 2 comments

请问higress可以实现这个需求吗:从请求的url参数里读取key-value并将这个value值作为目的地址进行转发

Why do you need it?

Is your feature request related to a problem? Please describe in details 业务需求,对于长连接业务需要指定到对应的pod。nginx上有类似的配置可以实现:

proxy pass http://$arg_server;

$arg_是nginx原生支持的关键词,可以从url里解析参数(https://nginx.org/en/docs/http/ngx_http_core_module.html#var_arg_) 希望higress也能实现类似功能

whitebear009 avatar May 31 '24 07:05 whitebear009