DEV Community 👩‍💻👨‍💻

Roy
Roy

Posted on

反向代理替换response body中的字符串

之前客户有个用ip直接访问蓝鲸的需求,如果用反向代理的话,会遇到response body 中内嵌的URL仍然是域名的情况。今天看到nginx有个模块可以解决这个问题
https://github.com/yaoweibin/ngx_http_substitutions_filter_module

Top comments (0)

🗣 Want to join the conversation?

It's easy! Become a DEV member to follow this post, comment, and more.