Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
c4628d46
Commit
c4628d46
authored
Jan 05, 2026
by
yangjianbo
Browse files
fix(安全): 允许在禁用白名单时使用不安全的 HTTP URL
parent
ee6d01fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
deploy/config.example.yaml
View file @
c4628d46
...
@@ -80,7 +80,7 @@ security:
...
@@ -80,7 +80,7 @@ security:
allow_private_hosts
:
true
allow_private_hosts
:
true
# Allow http:// URLs when allowlist is disabled (default: false, require https)
# Allow http:// URLs when allowlist is disabled (default: false, require https)
# 白名单禁用时是否允许 http:// URL(默认: false,要求 https)
# 白名单禁用时是否允许 http:// URL(默认: false,要求 https)
allow_insecure_http
:
fals
e
allow_insecure_http
:
tru
e
response_headers
:
response_headers
:
# Enable configurable response header filtering (disable to use default allowlist)
# Enable configurable response header filtering (disable to use default allowlist)
# 启用可配置的响应头过滤(禁用则使用默认白名单)
# 启用可配置的响应头过滤(禁用则使用默认白名单)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment