fix(#2417): allow gateway host in forgejo webhook ssrf list so config-pr webhook delivers
This commit is contained in:
parent
e0461e1af6
commit
cada704856
1 changed files with 9 additions and 0 deletions
|
|
@ -418,6 +418,15 @@ in
|
|||
# disallowed hosts"). Allow loopback + RFC-1918 sources
|
||||
# so an in-hive mirror of the hyperhive repo works.
|
||||
migrations.ALLOW_LOCALNETWORKS = true;
|
||||
# Webhook deliveries target the gateway
|
||||
# (`https://<hyperhive domain>/webhook/*`), which resolves to a
|
||||
# private (RFC-1918) gateway IP. Forgejo's webhook SSRF guard
|
||||
# denies private hosts by default, so the config-PR + knowledge
|
||||
# webhooks never actually deliver — only the 5-min poll fallback
|
||||
# catches config PRs. Allow the gateway host explicitly; scoping
|
||||
# to the single hostname keeps the SSRF surface tighter than the
|
||||
# broad `private` builtin.
|
||||
webhook.ALLOWED_HOST_LIST = hyperhiveDomain;
|
||||
log.LEVEL = "Warn";
|
||||
ui = {
|
||||
DEFAULT_THEME = "catppuccin-vibec0re";
|
||||
|
|
|
|||
Loading…
Reference in a new issue