/etc/cron.daily/logrotate to some other directory, and add the line at the end of /etc/crontab.0 0 * * * /new/path/to/logrotate
Step 1: Define the Map BlocksAdd this configuration inside the http {} block of your /etc/nginx/nginx.conf file. This logic evaluates the in...