Just some things from my work developing RoR applications.
Tuesday, 6 October 2009
rotating nginx logs
Since moving most of my systems over to plain Ubuntu on EC2 (as opposed to using ec2OnRails) I've needed to figure out certain things - like rotating the nginx logs (using Nginx instead of apache).
Simply create a file in /etc/logrotate.d/nginx that looks like this
No comments:
Post a Comment