Fixed the log path on fail2ban page (#13726)

* Changed path from /home/git/gitea/log/gitea.log to
  /var/lib/gitea/log/gitea.log on the fail2ban page, so the log matches
  the instructions found on the following binary installation page:
  https://docs.gitea.io/en-us/install-from-binary/#create-required-directory-structure
tokarchuk/v1.17
Jesse Laprade 4 years ago committed by GitHub
parent 7ab3633598
commit 5b75f17043
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/content/doc/usage/fail2ban-setup.en-us.md

@ -41,7 +41,7 @@ Add our jail in `/etc/fail2ban/jail.d/gitea.conf`:
[gitea]
enabled = true
filter = gitea
logpath = /home/git/gitea/log/gitea.log
logpath = /var/lib/gitea/log/gitea.log
maxretry = 10
findtime = 3600
bantime = 900

Loading…
Cancel
Save