fix .gitignore dir negation so config/ and scripts/ are tracked

This commit is contained in:
infra-bot
2026-08-27 16:14:23 +03:00
parent e14bfc676f
commit 34ff3a2693
19 changed files with 460 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
/var/log/nginx/*.log {
daily
rotate 14
minsize 100M
missingok
notifempty
compress
delaycompress
dateext
sharedscripts
postrotate
systemctl reload nginx >/dev/null 2>&1 || true
endscript
}
/var/log/php/*.log {
weekly
rotate 12
size 50M
missingok
notifempty
compress
delaycompress
create 0644 www-data www-data
postrotate
test ! -f /run/php/php8.4-fpm.pid || kill -USR1 "$(cat /run/php/php8.4-fpm.pid)" 2>/dev/null || true
endscript
}
/var/log/bitrix-backup.log {
monthly
rotate 6
missingok
compress
}