mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-22 18:47:23 +01:00
Implement a new way to handle the Nextcloud fail2ban config.
If the user wants Nextcloud to be installed, the setup script will simply append the relevant rules to the config file. This is more efficient than having two separate files.
This commit is contained in:
8
conf/fail2ban/nextcloud-jail.conf
Normal file
8
conf/fail2ban/nextcloud-jail.conf
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
[miab-owncloud]
|
||||
enabled = true
|
||||
port = http,https
|
||||
filter = miab-owncloud
|
||||
logpath = STORAGE_ROOT/owncloud/nextcloud.log
|
||||
maxretry = 20
|
||||
findtime = 120
|
||||
Reference in New Issue
Block a user