To follow up, I figured that nginx seems to work like passthru by default so what I needed was:<br><br>if (!-e $request_filename) {<br>    rewrite ^.*$ /index.php last;<br>}<br><br>Hopefully this will help someone with the same problem.<br>