We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e69484 commit a3a1c15Copy full SHA for a3a1c15
logrotate/logrotate.d/ee-nginx-proxy-log
@@ -13,5 +13,8 @@
13
14
# Ghi log
15
echo "$(date +'[%d/%m/%Y %H:%M:%S]') LogRotate.INFO: Rotated logs for nginx-proxy" >> /opt/easyengine/logs/ee.log
16
+
17
+ # Tải lại Fail2ban để đọc log mới
18
+ /usr/bin/docker compose -f /opt/fail2ban/docker-compose.yml exec fail2ban fail2ban-client reload || true
19
endscript
20
}
logrotate/logrotate.d/ee-sites-log
@@ -18,5 +18,9 @@
echo "$(date +'[%d/%m/%Y %H:%M:%S]') LogRotate.INFO: Rotated logs for $site" >> /opt/easyengine/logs/ee.log
done
21
22
+ # Tải lại Fail2ban sau khi tất cả các log đã được xoay
23
24
25
26
0 commit comments