fix(#2417): allow gateway host in forgejo webhook ssrf list so config-pr webhook delivers

This commit is contained in:
damocles 2026-07-14 20:07:27 +02:00
commit cada704856

View file

@ -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";