Skip to content

Commit

Permalink
fix nginx logrotate match line
Browse files Browse the repository at this point in the history
  • Loading branch information
paskal committed Dec 30, 2023
1 parent 13562d2 commit 969766c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/logrotate/nginx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#[!p][!r][!o][!d] means "does not start with prod"
/web/logs/nginx/[!p][!r][!o][!d]*.log
# and [!0-9] means "don't match already rotated files"
/web/logs/nginx/[!p][!r][!o][!d]*[!0-9].log
/web/logs/nginx/prod.error.log
{
dateext
Expand Down

0 comments on commit 969766c

Please sign in to comment.