Correct error logs from nginx