4901e6b8 by lihua

fix

1 parent c154a02a
......@@ -49,14 +49,6 @@ server {
proxy_pass http://daop-gateway:8053/;
}
# 专门处理 config.json 的 location
location = /config.json {
# 启用 sub_filter 并指定 MIME 类型为 application/json
sub_filter '{{{APP_KEY}}}' '${APP_KEY}';
sub_filter_once off;
sub_filter_types application/json; # 关键:允许替换 JSON 类型
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!