Hello All, I noticed that there are large (15GB) log files in /usr/local/nginx/logs these can not be opened using any windows program so pretty much useless in that sense.
Would it be possible to rotate the nginx logs? So that each day nginx create a new log file. Would be nice if we can keep last 7 days logs only
Any suggestions?
XFileSharing Pro - nginx log rotation?
i don't see a reason to enable logs, unless you want to debug; which is not done everyday
check : https://wincent.com/wiki/nginx_log_rotation
just Google and you will find other similar scripts for log rotation
check : https://wincent.com/wiki/nginx_log_rotation
just Google and you will find other similar scripts for log rotation