NGINX添加subs_filter模块
https://cloud.tencent.com/developer/article/1142155
Nginx 配置
server {
listen 9990;
root /usr/local/nginx/html;
index index.php;
location ~* (logo.png)$ {
rewrite ^/ http://xxxxxxx/static/image/logo.png;
}
location / {
proxy_pass http://xxxxxxx.nap.cc;
subs_filter 'xxx' 'yyyyyyy';
subs_filter 'aad' 'daa';
subs_filter 'aaaa' 'bbb';
sub_filter_once off;
}
}