I'm trying to migrate a service from a server to another.
It's a simple
On the first server (
Apache) I could request a
JSON in the following way:
On the second (
nginx), I should be able to do it the same way:
Both applications include an
index.php that is served correctly by both web servers.
/apps? produce a 404 on
My guess is that
Apache is doing some magic finding a
php file to process the query.
However, I'm quite a noob with this tools and I don't understand what is exactly happening on the
Apache server and how to configure
nginx to reproduce the same behavior ...
index.php file processed as input?
So far I tried to specify
with little success.
And to explore
Apache configuration files without much help.