I want to keep the nginx logs of the lsat 30 days. The default configuration is 15 days, as the image shows.
I would like to keep the last 30 days instead.
Here are the looging settings of nginx:
##
# Logging Settings
##
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
But it doesn't say anything about "how oft" it should be taken.
I'm not a nginx expert at all, so I don't know how/where I can change that configuration.
Maybe someone there needed to do the same and want to help me.