nginx wordpress subdirectory Invalid post type

The issue was solved by commenting out this line

fastcgi_split_path_info ^(/blog)(/.*)$;

It solved the issue, with apparently no side effects. I got the answer on WordPress.org forums which was originally posted on nginx forums

Cheers.