update nginx logrotate config template