fix the nginx error log regexp bug

  Reported in Issue 125