Skip to content

Instantly share code, notes, and snippets.

@wata
Last active December 26, 2015 12:09
Show Gist options
  • Save wata/7148941 to your computer and use it in GitHub Desktop.
Save wata/7148941 to your computer and use it in GitHub Desktop.
GAE: app.yaml designed for serving a static site on Google App Engine (Python).
application: {{package.name}}
version: {{dashify package.version}}
runtime: python27
api_version: 1
threadsafe: true
handlers:
- url: /robots.txt
static_files: robots.txt
upload: robots.txt
- url: /humans.txt
static_files: humans.txt
upload: humans.txt
- url: /crossdomain.xml
static_files: crossdomain.xml
upload: crossdomain.xml
- url: /sitemap.xml
static_files: sitemap.xml
upload: sitemap.xml
- url: /favicon.ico
static_files: favicon.ico
upload: favicon.ico
- url: /manifest.appcache
static_files: manifest.appcache
mime_type: text/cache-manifest
upload: manifest.appcache
- url: /img
static_dir: img
- url: /css
static_dir: css
- url: /fonts
static_dir: fonts
- url: /js
static_dir: js
- url: /
static_files: index.html
upload: index.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment