From your original post when you mention the nginx-app.conf, I suspect you're using an nginx process to route requests to given PHP scripts. App Engine uses nginx internally as well but it is not configured using standard nginx conf files that users can access. Instead, the
handlers defined in your
app.yaml are used to route requests to given scripts. The
url property is a regular expression that is tested against the URL path of the request. If it matches, the associated
script that this handler points to is called. Thus the path and script can be entirely different. There are a few examples shown in the app.yaml reference documentation linked previously.
Are you using
dev_appserver.py to test locally? If so, it should treat your
app.yaml handlers the same as when deployed to the production environment and no local nginx process is required. If you're using
dev_appserver.py and the handlers are treated differently than in production, I'd recommend filing a new issue on our
Issue Tracker.