summaryrefslogtreecommitdiff
path: root/playbooks.d/webserver-nginx
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2022-05-06 10:07:51 +0200
committerPatrick Spek <p.spek@tyil.nl>2022-05-06 10:07:51 +0200
commitf81ba513c32722606fb78228c8268731891deedf (patch)
treed3e197c8ab763cb791500a4988e3c83f910e9c4e /playbooks.d/webserver-nginx
parent2d402273b67d72e3c1cc84ad952151568bb8ac3c (diff)
Use date extensions for nginx logrotate
Diffstat (limited to 'playbooks.d/webserver-nginx')
-rw-r--r--playbooks.d/webserver-nginx/share/logrotate.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/playbooks.d/webserver-nginx/share/logrotate.conf b/playbooks.d/webserver-nginx/share/logrotate.conf
index faa9996..d9c0732 100644
--- a/playbooks.d/webserver-nginx/share/logrotate.conf
+++ b/playbooks.d/webserver-nginx/share/logrotate.conf
@@ -3,6 +3,8 @@
missingok
rotate -1
notifempty
+ dateext
+ dateyesterday
create 0640 ${user} ${group}
sharedscripts
postrotate