Added patch for nginx 1.2.X