mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2026-05-30 18:11:11 +02:00
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:
@@ -139,6 +139,9 @@ in {
|
|||||||
AVATAR_MAX_ORIGIN_SIZE = 1024 * 1024 * 2;
|
AVATAR_MAX_ORIGIN_SIZE = 1024 * 1024 * 2;
|
||||||
};
|
};
|
||||||
actions.ENABLED = true;
|
actions.ENABLED = true;
|
||||||
|
webhook.ALLOWED_HOST_LIST = lib.concatStringsSep "," [
|
||||||
|
"external"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
dump = {
|
dump = {
|
||||||
|
|||||||
Reference in New Issue
Block a user