Commit bf9857d9 by Carson Gee

Merge pull request #587 from edx/cg/nginx-logrotate-expansion

Adds ability to have multiple named access logs be rotated
parents 407e91ca 1d4feb39
# Put in place by ansible
{{ nginx_log_dir }}/access.log {
{{ nginx_log_dir }}/*access.log {
create 0640 www-data adm
compress
delaycompress
......
# Put in place by ansible
{{ nginx_log_dir }}/error.log {
{{ nginx_log_dir }}/*error.log {
create 0640 www-data adm
compress
delaycompress
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment