Can I configure allowlist in gitlab.rb?

Can the webhook allowlist (Webhooks and insecure internal web services | GitLab), in self hosted CE, be configured via gitlab.rb or other file?