Nginx rewrite rule conflict with WordPress permalinks rule

Facing issue with nginx url rewrite rules. What I want is to serve page when someone tries to access url. And it should return 200 status. I tried below rewrite rule which works fine when wordpress permalink is set to default but as soon as I set permalink to custom below rules does not works.