Edit file File name : ndn-ngxtls Content :# Ansible managed /dh/nginx/servers/tls-term/var/logs/*.log { daily missingok rotate 7 compress delaycompress copytruncate notifempty create 600 root root sharedscripts prerotate /bin/sleep $((RANDOM%1000)) endscript } Save