> Source: https://serverfault.com/questions/980571/can-i-delete-access-log-files-in-nginx-will-it-cause-an-issue You can remove access.log as root user, or using sudo. ```sh sudo rm /var/log/nginx/access.log ``` However after deleting it, the file will not be re-created until nginx is re-loaded or re-started. To reload nginx do: ```sh sudo service nginx reload ``` To re-size the file to 0 bytes, without having to re-load or re-start nginx, use the truncate command: ```sh sudo truncate --size 0 /var/log/nginx/access.log ```