Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
4901e6b8
authored
2026-03-12 16:48:47 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
c154a02a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
default.conf
default.conf
View file @
4901e6b
...
...
@@ -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
/
50
x
.
html
;
location
= /
50
x
.
html
{
root
/
usr
/
share
/
nginx
/
html
;
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment