4901e6b8 by lihua

fix

1 parent c154a02a
...@@ -49,14 +49,6 @@ server { ...@@ -49,14 +49,6 @@ server {
49 proxy_pass http://daop-gateway:8053/; 49 proxy_pass http://daop-gateway:8053/;
50 } 50 }
51 51
52 # 专门处理 config.json 的 location
53 location = /config.json {
54 # 启用 sub_filter 并指定 MIME 类型为 application/json
55 sub_filter '{{{APP_KEY}}}' '${APP_KEY}';
56 sub_filter_once off;
57 sub_filter_types application/json; # 关键:允许替换 JSON 类型
58 }
59
60 error_page 500 502 503 504 /50x.html; 52 error_page 500 502 503 504 /50x.html;
61 location = /50x.html { 53 location = /50x.html {
62 root /usr/share/nginx/html; 54 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!