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