gitea: fix infinite recursion
This commit is contained in:
parent
e6f98212e2
commit
1d62fc65ae
|
@ -20,10 +20,8 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
appName = "Gitea: with a cup of Kolle Mate";
|
appName = "Gitea: with a cup of Kolle Mate";
|
||||||
database.type = "postgres";
|
database.type = "postgres";
|
||||||
domain = "gitea.c3d2.de";
|
|
||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
repositoryRoot = "/var/lib/gitea/repositories";
|
repositoryRoot = "/var/lib/gitea/repositories";
|
||||||
rootUrl = "https://${config.services.gitea.domain}/";
|
|
||||||
|
|
||||||
dump = {
|
dump = {
|
||||||
# Is a nice feature once we have a dedicated backup storage.
|
# Is a nice feature once we have a dedicated backup storage.
|
||||||
|
@ -41,11 +39,6 @@
|
||||||
settings = {
|
settings = {
|
||||||
# we use drone for internal tasks and don't want people to execute code on our infrastructure
|
# we use drone for internal tasks and don't want people to execute code on our infrastructure
|
||||||
actions.ENABLED = false;
|
actions.ENABLED = false;
|
||||||
cors = {
|
|
||||||
ALLOW_DOMAIN = config.services.gitea.domain;
|
|
||||||
ENABLED = true;
|
|
||||||
SCHEME = "https";
|
|
||||||
};
|
|
||||||
"cron.delete_generated_repository_avatars".ENABLED = true;
|
"cron.delete_generated_repository_avatars".ENABLED = true;
|
||||||
"cron.delete_old_system_notices".ENABLED = true;
|
"cron.delete_old_system_notices".ENABLED = true;
|
||||||
"cron.git_gc_repos".ENABLED = true;
|
"cron.git_gc_repos".ENABLED = true;
|
||||||
|
@ -80,10 +73,11 @@
|
||||||
REPOSITORY_AVATAR_FALLBACK = "random";
|
REPOSITORY_AVATAR_FALLBACK = "random";
|
||||||
};
|
};
|
||||||
repository.DEFAULT_REPO_UNITS = "repo.code,repo.releases,repo.issues,repo.pulls";
|
repository.DEFAULT_REPO_UNITS = "repo.code,repo.releases,repo.issues,repo.pulls";
|
||||||
server = {
|
server = rec {
|
||||||
|
DOMAIN = "gitea.c3d2.de";
|
||||||
ENABLE_GZIP = true;
|
ENABLE_GZIP = true;
|
||||||
SSH_AUTHORIZED_KEYS_BACKUP = false;
|
SSH_AUTHORIZED_KEYS_BACKUP = false;
|
||||||
SSH_DOMAIN = config.services.gitea.domain;
|
SSH_DOMAIN = DOMAIN;
|
||||||
};
|
};
|
||||||
service = {
|
service = {
|
||||||
DISABLE_REGISTRATION = true;
|
DISABLE_REGISTRATION = true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user