Groups
Groups
Sign in
Groups
Groups
openresty
Conversations
Labels
About
Send feedback
Help
修改nginx返回给浏览器的内容,如“hello world”改成“hello nginx”
188 views
Skip to first unread message
xiwu zhao
unread,
May 30, 2016, 3:17:37 AM
5/30/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openresty
请问,有没有类似ngx.req.set/get_body_data 接口可以,“篡改” response的body数据。
网络结构如下:
浏览器<---->nginx反向代理<---> server
在反向代理这一层实现上述需求
--thx
xiwu zhao
unread,
May 30, 2016, 3:22:38 AM
5/30/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openresty
http_sub_module 类似这个模块的功能。有木有lua接口
在 2016年5月30日星期一 UTC+8下午3:17:37,xiwu zhao写道:
XI WANG
unread,
May 30, 2016, 5:00:20 AM
5/30/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openresty
https://github.com/openresty/lua-nginx-module#body_filter_by_lua
xiwu zhao
unread,
May 30, 2016, 6:11:39 AM
5/30/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openresty
感谢~
在 2016年5月30日星期一 UTC+8下午5:00:20,XI WANG写道:
Reply all
Reply to author
Forward
0 new messages