forked from devlance/googledevdocs.github.io
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathapp.yaml
72 lines (58 loc) · 1.24 KB
/
app.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
application: gcpjekyll
version: 1
runtime: python27
api_version: 1
threadsafe: true
handlers:
- url: /(.*\.(appcache|manifest))
mime_type: text/cache-manifest
static_files: \1
upload: (.*\.(appcache|manifest))
- url: /(.*\.css)
mime_type: text/css
static_files: \1
upload: (.*\.css)
- url: /(.*\.ico)
mime_type: image/x-icon
static_files: \1
upload: (.*\.ico)
- url: /(.*\.js)
mime_type: text/javascript
static_files: \1
upload: (.*\.js)
- url: /(.*\.json)
mime_type: application/json
static_files: \1
upload: (.*\.json)
- url: /(.*\.swf)
mime_type: application/x-shockwave-flash
static_files: \1
upload: (.*\.swf)
- url: /(.*\.txt)
mime_type: text/plain
static_files: \1
upload: (.*\.txt)
- url: /(.*\.xml)
mime_type: application/xml
static_files: \1
upload: (.*\.xml)
# image files
- url: /(.*\.(bmp|gif|ico|jpeg|jpg|png|pdf))
static_files: \1
upload: (.*\.(bmp|gif|ico|jpeg|jpg|png|pdf))
# clean urls
- url: /(.+)
mime_type: text/html
static_files: \1.html
upload: (.+)
# index files
- url: /(.+)/
static_files: \1/index.html
upload: (.+)/index.html
- url: /(.+)
static_files: \1/index.html
upload: (.+)/index.html
# site root
- url: /
static_files: index.html
upload: index.html