After migrating D6 only homepage works
Check if your server supports Clean URLs. It is most likely the culprit.

You can consult the following threads on how to enable Clean URLs on Nginx.


Clean URLs on Nginx
Enabling Clean URLs on Nginx(Stackexchange)