how to check nginx error log code example Example: display nginx logs tail -f /var/log/nginx/error.log