Skip to content

Instantly share code, notes, and snippets.

@shop-0761
Created February 7, 2018 05:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shop-0761/c1cfb465d73397f8a2b2f5b4078d631c to your computer and use it in GitHub Desktop.
Save shop-0761/c1cfb465d73397f8a2b2f5b4078d631c to your computer and use it in GitHub Desktop.
ホームページで使ってるapp.yaml
runtime: go
api_version: go1
handlers:
- url: /
static_files: public/index.html
upload: /
- url: /css
static_dir: public/css
- url: /fonts
static_dir: public/fonts
- url: /js
static_dir: public/js
- url: /img
static_dir: public/img
- url: /(.*)/$
static_files: public/\1/index.html
upload: .*\.html$
skip_files: |
^(.*/)?(
(archetypes/.*)|
(app\.yaml)|
(app\.yml)|
(index\.yaml)|
(index\.yml)|
(config\.yaml)|
(#.*#)|
(.*~)|
(.*\.py[co])|
(.*\.po)|
(.*\.pot)|
(\..*)|
(manage\.py)|
(README\.md)|
(LICENSE)|
(content\/.*)|
(data\/.*)|
(static\/.*)|
(layouts\/.*)|
(\.git\/.*)|
(\.gitignore)|
)$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment