Last active
August 29, 2015 14:20
-
-
Save jlandure/6c948763e0470e5d3918 to your computer and use it in GitHub Desktop.
app.yaml z formation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| application: z-test | |
| version: v2 | |
| runtime: python27 | |
| api_version: 1 | |
| threadsafe: true | |
| default_expiration: "30d" | |
| handlers: | |
| # re-direct to index.html if no path is give | |
| - url: / | |
| static_files: index.html | |
| upload: index.html | |
| expiration: "0d 5m" | |
| # re-direct to index.html | |
| - url: /index.html(.*) | |
| static_files: index.html | |
| upload: index.html(.*) | |
| expiration: "0d 5m" | |
| - url: /(.*\.md) | |
| static_files: \1 | |
| upload: (.*\.md) | |
| mime_type: text/x-markdown | |
| - url: /(.*\.ttf) | |
| static_files: \1 | |
| upload: (.*\.ttf) | |
| mime_type: application/x-font-ttf | |
| - url: /(.*\.json) | |
| static_files: \1 | |
| upload: (.*\.json) | |
| mime_type: application/json | |
| - url: /(.*\.yaml) | |
| static_files: \1 | |
| upload: (.*\.yaml) | |
| mime_type: text/x-yaml | |
| # access the static resources in the root director | |
| - url: /(.*) | |
| static_files: \1 | |
| upload: (.*) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment