Delete nginx logs after 1 day old Search Notes Please enable JavaScript to use the search form. #nginx #linux | Nov 7, 2022 # Add as cronjob * * * * * find /var/log/nginx/*.log* -mtime +1 -exec rm -f {} \; Please enable JavaScript to view the comments. comments powered byDisqus