Added fail2ban, though not sure its configured correctly yet

This commit is contained in:
Jamie Curnow
2023-03-09 22:11:28 +10:00
parent e959e54dc8
commit 700518a0a2
245 changed files with 9172 additions and 5 deletions

View File

@ -0,0 +1,15 @@
## Version 2022/08/06
# Fail2Ban jail configuration for nextcloud
# Recommended modification to Nextcloud settings
# https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/logging_configuration.html#file
# Set the following in config.php
# "log_type" => "file",
# "logfile" => "/config/log/nextcloud/nextcloud.log",
[nextcloud-auth]
enabled = false
port = http,https
logpath = %(remote_logs_path)s/nextcloud/nextcloud.log