Hello yojolo2989,
There is a logrotate configuration for Nginx, so your logs will be compressed and/or removed automatically every week.
Otherwise you can just remove the error logs with rm -f /var/log/nginx/*.error.log if you want to clean this up immediatly.