Created
May 19, 2014 11:53
-
-
Save sokil/c6df92783b859eb393e4 to your computer and use it in GitHub Desktop.
Log rotation for nginx+php-fpm stack on FreeBSD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# log rotation for nginx+php-fpm stack on FreeBSD | |
# File: /etc/newsyslog.conf | |
/var/log/nginx/*.log 644 15 1000 @T00 JBCG /var/run/nginx.pid 30 | |
/var/log/php_errors.log www:www 644 15 1000 @T00 JBCG /var/run/php-fpm.pid 30 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment