Skip to content

Instantly share code, notes, and snippets.

@arthurk
Created March 15, 2010 18:18
Show Gist options
  • Save arthurk/333123 to your computer and use it in GitHub Desktop.
Save arthurk/333123 to your computer and use it in GitHub Desktop.
Hosting static files with appengine
## app.yaml
default_expiration: "7d" <--- Sets the Expires header
handlers:
- url: (.*)/
static_files: static\1/index.html
upload: static/index.html
- url: /
static_dir: static
## mkdir static <-- put public files in static directory
## remember: app engine has a limit of 1000 static files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment