Hi, 

I am migrating an application from Google App Engine - PHP , Standard 
Environment - to google kubernetes cluster. 

Following this info: 
https://cloud.google.com/appengine/docs/flexible/custom-runtimes/build , I 
am using the PHP image: "FROM gcr.io/google-appengine/php" 

Now, my point is, how to "migrate" the rules in app.yaml? The docker image 
has the some behaviour thaat the standard google app engine? 

Should I to copy the app.yaml to any specific path, or re-write, or need I 
to specify the rules in ngingx config files? 

Example of some rules that i need to specify:


handlers:
- url: /listeners/moduleA/(.*)$
script: /backend/listeners/moduleA.php
secure: always

- url: /listeners/api/(.*)$
script: /backend/listeners/api.php
secure: always

- url: /favicon\.ico
static_files: favicon.ico
upload: favicon\.ico

- url: /assets
static_dir: assets

- url: /(.*\.(css))$
static_files: \1
upload: .*\.(css)$

   
Thank you,
VS

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/26aeb518-5cbe-485d-8e3a-2fd61e02fc72%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine]... Vasco Silva

Reply via email to