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.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)