diff --git a/gitea.conf b/gitea.conf new file mode 100644 index 0000000..798e108 --- /dev/null +++ b/gitea.conf @@ -0,0 +1,5 @@ +# gitea.conf +[Definition] +failregex = .*(Failed authentication attempt|invalid credentials|Attempted access of unknown user).* from +ignoreregex = + diff --git a/gitea.local b/gitea.local new file mode 100644 index 0000000..94e1cec --- /dev/null +++ b/gitea.local @@ -0,0 +1,10 @@ +[gitea] +backend = auto +enabled = true +port = 80,443 +protocol = tcp +filter = gitea +maxretry = 3 +bantime = 86400 +findtime = 43200 +logpath = /var/log/gitea/gitea.log