Sounds like you’re having the same problems as this:
I don’t think that rewrite block is necessary in v2. All PHP files will be served by fastcgi if they exist on disk. The only URLs that need or may need special rewrites from those are /.well-known/, /updater/, /ocs-provider/ and /ocm-provider/