sudo gzip -t /var/log/nginx/access.log.1.gz
Category: Self-Hosting
sudo gzip -t /var/log/nginx/access.log.1.gz
Test the integrity of a rotated, compressed Nginx log file
Checks that a rotated, compressed log file isn't corrupt. Nginx log rotation is usually handled by logrotate automatically.