魔方财务修复泄露上游地址方法
方法1:伪静态设置location /api/product/ {deny all;
}
方法2:伪静态设置subs_filter_types application/json text/json;
subs_filter '"upstream_product_shopping_url"\s*:\s*"[^"]*"' ""upstream_product_shopping_url":null" gri;
方法3:替换源文件鉴于目前修复方案可以会造成上下游同步失败,本方案仅对upstream_product_shopping_url字段替换为null
页:
[1]