From 16dd89192b72d66ae22615b63cffb881fb220d54 Mon Sep 17 00:00:00 2001 From: RLF Date: Wed, 28 Feb 2024 23:32:52 -0500 Subject: [PATCH] Upload files to "/" --- gitea.conf | 5 +++++ gitea.local | 10 ++++++++++ 2 files changed, 15 insertions(+) create mode 100644 gitea.conf create mode 100644 gitea.local 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