gitea: fix broken webhooks
This commit is contained in:
parent
167e4e9a5b
commit
267b6c6d39
@ -246,10 +246,21 @@
|
|||||||
cookieSecure = true;
|
cookieSecure = true;
|
||||||
disableRegistration = false;
|
disableRegistration = false;
|
||||||
settings = {
|
settings = {
|
||||||
|
# increase cookie expiration time
|
||||||
security.LOGIN_REMEMBER_DAYS = 365;
|
security.LOGIN_REMEMBER_DAYS = 365;
|
||||||
attachment.MAX_SIZE = 10; # file upload size (MB)
|
|
||||||
|
# file upload size (MB)
|
||||||
|
attachment.MAX_SIZE = 10;
|
||||||
|
|
||||||
|
# new users can only create PR/issues
|
||||||
service.DEFAULT_ALLOW_CREATE_ORGANIZATION = false;
|
service.DEFAULT_ALLOW_CREATE_ORGANIZATION = false;
|
||||||
|
repository.MAX_CREATION_LIMIT = 0;
|
||||||
|
|
||||||
|
# somewhat limit spam
|
||||||
service.EMAIL_DOMAIN_BLOCKLIST = "gmail.com";
|
service.EMAIL_DOMAIN_BLOCKLIST = "gmail.com";
|
||||||
|
|
||||||
|
# allow the notify webhook to use matrix
|
||||||
|
webhook.ALLOWED_HOST_LIST = "maxwell.ydns.eu";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user