I am really new to nginx and wanted to setup a rewrite but it allways fails for me. What I want is to rewrite `file.php` to `page.php?page=file`, but I only want this to occour if `file.php` dont exist. Can anyone help me with this?

I've tried a few rewrites myself but nothing works...