Loading...
This site is best viewed in a modern browser with JavaScript enabled.
Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.
在stram中进行对内容进行改写?
mrproliu
我们现在使用openresty的TCP(stream)来做代理(upstream),现在希望在发送至真实upstream后端前,在body中增加一部分内容,这样我们该如何处理?
mrproliu
我看到了stream-lua-nginx-module(https://github.com/openresty/stream-lua-nginx-module)。
但是并没有找到如何在发送给后端TCP请求前对内容进行预处理的功能。
在 2017年8月15日星期二 UTC+8下午4:53:24,han liu写道:
我们现在使用openresty的TCP(stream)
来做代理(upstream),
现在希望在发送至真实upstream后端前,
在body中增加一部分内容,这样我们该如何处理?