chore: Update logrotate configuration to include size-based rotation and include certbot files

This commit is contained in:
Théophile Diot 2024-07-24 09:42:57 +01:00
parent c1a4c2a9c1
commit 1d850cbd76
No known key found for this signature in database
GPG key ID: FA995104A0BA376A

View file

@ -1,10 +1,12 @@
/var/log/bunkerweb/*.log
/var/log/bunkerweb/*.log /var/log/bunkerweb/*.log.*
{
su nginx nginx
daily
size 100M
rotate 7
copytruncate
compress
delaycompress
missingok
notifempty
dateext