Hi Jay-Nicolas,

>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 
<https://cloud.google.com/appengine/docs/standard/php/config/appref>* are 
used to route requests to given scripts.  The *url 
<https://cloud.google.com/appengine/docs/standard/php/config/appref#handlers_url>*
 
property is a regular expression that is tested against the URL path of the 
request.  If it matches, the associated *script 
<https://cloud.google.com/appengine/docs/standard/php/config/appref#handlers_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 
<https://issuetracker.google.com/issues/new>.

On Wednesday, May 31, 2017 at 1:48:40 PM UTC-4, Jay-Nicolas Hackleman wrote:
>
> I'm a bit confused... so my original question I feel was pretty clear in 
> what I wanted to do...
>
> Are you telling me that it can't be done that way, or are you telling me 
> that you recommend a different approach that routes *all traffic *through 
> a single script? 
>
> So... this help doc about static files... are you telling me I should look 
> at something specific in it? Why would I want to serve php scripts as 
> static files?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/3789b712-0267-48f4-97ea-a10c36a94577%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to