Skip to content

Commit

Permalink
Conserve vraiment un an de logs Nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
philippemilink committed Jun 30, 2024
1 parent 24e47fd commit ab5c146
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion roles/web/templates/logrotate/zds-nginx.j2
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{{ logdir }}/nginx*.log {
# pas de suppression avant que maxage ne soit atteint
rotate -1
daily
missingok
maxage 365
compress
notifempty
create 640 nginx adm
create 640 www-data adm
delaycompress
sharedscripts
postrotate
Expand Down

0 comments on commit ab5c146

Please sign in to comment.