Not so similar. We want to perform kind of rewrite with try_files.
If user hit "/some/location/, try_files should search for /api.php?r="/some/location" (api.php file exists)
I think the problem is at "?r=". But why it works perfect without "=404" at the end?
If user hit "/some/location/, try_files should search for /api.php?r="/some/location" (api.php file exists)
I think the problem is at "?r=". But why it works perfect without "=404" at the end?