kommode/gitea: only allow webhooks to external hosts

We don't have any servers with intranet IPs, and we want webhooks that
hook back to kommode to pass through its firewall.
This commit is contained in:
h7x4
2026-05-29 12:58:12 +09:00
parent 0c45345050
commit 64843087be

View File

@@ -139,6 +139,9 @@ in {
AVATAR_MAX_ORIGIN_SIZE = 1024 * 1024 * 2;
};
actions.ENABLED = true;
webhook.ALLOWED_HOST_LIST = lib.concatStringsSep "," [
"external"
];
};
dump = {