1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

Add fail2ban

This commit is contained in:
Rafi59 2017-06-11 13:40:57 +02:00 committed by GitHub
parent b0ff3372b0
commit 7668c96ab6

View file

@ -178,6 +178,7 @@ ynh_app_setting_set "$app" skipped_regex \
# Set fail2ban rules
sudo cp ../conf/nextcloud_fail2ban.conf /etc/fail2ban/filter.d/nextcloud.conf
sudo cp ../conf/jail_nextcloud.local /etc/fail2ban/jail.d/nextcloud.local
# Reload services
sudo service php5-fpm restart || true